Search found 1 match

by erin
Wed Oct 30, 2024 8:18 pm
Forum: wimlib discussion
Topic: Wimlib calls into (G)LibC which allocates memory using its own allocator and then frees using the provided one
Replies: 1
Views: 153250

Wimlib calls into (G)LibC which allocates memory using its own allocator and then frees using the provided one

I am writing a FFI wrapper for wimlib for Rust. Rust uses different allocation model than C (read as less stupid ) which for deallocation requires layout. I made up big enough alignment, so that missing information is provided. I want to provide optional feature to use library user's Rust global ...