pub trait UnityMemoryManagerInterface {
// Required method
unsafe fn create_allocator(
&self,
area_name: &CStr,
object_name: &CStr,
) -> Option<UnityAllocator>;
}Required Methods§
Sourceunsafe fn create_allocator(
&self,
area_name: &CStr,
object_name: &CStr,
) -> Option<UnityAllocator>
unsafe fn create_allocator( &self, area_name: &CStr, object_name: &CStr, ) -> Option<UnityAllocator>
§Safety
area_name and object_name must remain valid for the lifetime of the
returned UnityAllocator.