Expand description
Custom allocator hooks for librtmp2
Mirrors src/core/alloc.h and src/core/alloc.c.
Provides pluggable allocation functions with standard defaults.
Functions§
- alloc_
vec - Allocate a Vec-backed buffer (idiomatic Rust helper).
- lrtmp2_
calloc - Allocate zeroed memory for
nmembelements ofsizebytes each. - lrtmp2_
free - Free memory.
- lrtmp2_
malloc - Allocate
sizebytes using the current allocator. - lrtmp2_
realloc - Reallocate memory.
- set_
allocator - Set custom allocator functions.