Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
python-elphel-extensions
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
python-elphel-extensions
Commits
fbb514aa
Commit
fbb514aa
authored
Mar 20, 2015
by
Yuri Nenakhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed naming
parent
debd4f3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
elphel.py
elphel.py
+2
-2
No files found.
elphel.py
View file @
fbb514aa
...
...
@@ -15,7 +15,7 @@ class phys_mem:
allocated it should remain working
'''
def
__init__
(
self
,
buf_size
=
4096
):
ctypes_alloc
=
ctypes
.
CDLL
(
'libelphel.so'
)
.
malloc_and_mlock
ctypes_alloc
=
ctypes
.
CDLL
(
'libelphel.so
.0
'
)
.
malloc_and_mlock
ctypes_alloc
.
restype
=
ctypes
.
c_void_p
ctypes_alloc
.
argtypes
=
ctypes
.
c_size_t
,
self
.
endian
=
"<"
# little, ">" for big
...
...
@@ -77,4 +77,4 @@ class phys_mem:
return
self
.
start_addr
def
get_size
(
self
):
return
self
.
size
\ No newline at end of file
return
self
.
size
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment