Skip to main content

allocated_byte_count

Function allocated_byte_count 

Source
pub fn allocated_byte_count() -> Result<i64, Error>
Expand description

Get the total number of bytes currently allocated by Box2D.

The return type is fixed-width to match upstream int64_t, independent of the host pointer width. Box2D reports a non-negative allocation count.