[ CCode ( has_target = false ) ]
public delegate void* MemoryMapFunction (Memory mem, size_t maxsize, MapFlags flags)
Get the memory of mem
that can be accessed according to the mode specified in flags
.
The function should return a pointer that contains at least maxsize
bytes.
mem |
a Memory |
maxsize |
size to map |
flags |
access mode for the memory |
a pointer to memory of which at least |