GDExtensionInterfaceMemAlloc typedef

@name mem_alloc @since 4.1

Allocates memory.

@param p_bytes The amount of memory to allocate in bytes.

@return A pointer to the allocated memory, or NULL if unsuccessful.

Implementation

typedef GDExtensionInterfaceMemAlloc =
    ffi.Pointer<ffi.NativeFunction<GDExtensionInterfaceMemAllocFunction>>;