Commit fbb514aa authored by Yuri Nenakhov's avatar Yuri Nenakhov

Fixed naming

parent debd4f3c
...@@ -15,7 +15,7 @@ class phys_mem: ...@@ -15,7 +15,7 @@ class phys_mem:
allocated it should remain working allocated it should remain working
''' '''
def __init__(self, buf_size = 4096): 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.restype = ctypes.c_void_p
ctypes_alloc.argtypes = ctypes.c_size_t, ctypes_alloc.argtypes = ctypes.c_size_t,
self.endian="<" # little, ">" for big self.endian="<" # little, ">" for big
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment