Manual: ffi
not documented
volatile
not documented
volatile
not documented
volatile
automem(ctype : object, count = null, clear = null)
Allocates a chunk of memory that is
automatically deallocated when the object is being lost. Be aware that
this method can be used to create flanging pointers. ctype | not documented |
count | not documented |
clear | not documented |
returns | not documented |
Please keep the object around as long as the memory is used.
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
+init(cfunc : type, callback : object)
not documented cfunc | not documented |
callback | not documented |
returns | not documented |
volatile
not documented
volatile
not documented
volatile
not documented
volatile
Casts the c-type of a c-object.
volatile
not documented
volatile
+init(restype : object, argtypes_list : list)
not documented restype | not documented |
argtypes_list | not documented |
returns | not documented |
volatile
not documented
volatile
double : floating
not documented volatile
float : floating
not documented volatile
not documented
volatile
Cannot be instantiated
yourself. Represents a handle into a C symbol.
volatile
not documented
volatile
Opens a shared C library
The path must be a string denoting the location of the library in the system. The apispec may be a function that is called with the name whenever getattr(name) is called. It returns a ctype or wrap -object to indicate what the library should do.
volatile
malloc(ctype : object, count = null, clear = null)
Where the sizeof returns the size of the type,
this thing returns a c-object of that size. ctype | not documented |
count | not documented |
clear | not documented |
returns | not documented |
The c-object created with this method must be deallocated.
volatile
memcpy(dst : mem, src : object, count : int)
not documented dst | not documented |
src | not documented |
count | not documented |
returns | not documented |
volatile
memset(mem : mem, num : int, count : int)
not documented mem | not documented |
num | not documented |
count | not documented |
returns | not documented |
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
alloc(pool : pool, ctype : type, count = null, clear = null)
not documented pool | not documented |
ctype | not documented |
count | not documented |
clear | not documented |
returns | not documented |
volatile
Deallocates the memory of mallocated c-object.
volatile
not documented
volatile
not documented
volatile
not documented
volatile
sizeof(ctype : object, count = null)
Returns the size of the ctype. If the ctype is
parametric it returns the size of ctype[a], otherwise it returns the
size of array of ctype of that size. ctype | not documented |
count | not documented |
returns | not documented |
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile
not documented
volatile