Skip to main content

fizzy_get_instance_memory_size

Function fizzy_get_instance_memory_size 

Source
pub unsafe extern "C" fn fizzy_get_instance_memory_size(
    instance: *mut FizzyInstance,
) -> usize
Expand description

Get size of memory of an instance.

@param instance Pointer to instance. Cannot be NULL. @return Size of memory in bytes or 0 in case instance doesn’t have any memory.

@note Function returns memory size regardless of whether memory is exported or not.