Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
619 stars 115 forks source link

Add an implementation of Zig's Allocator interface #94

Closed myQwil closed 4 months ago

myQwil commented 4 months ago

This allows us to take advantage of all the std.mem.Allocator functions, while still technically working with the allocation functions that raylib provides.

One of the original audio examples has been recreated to demonstrate the allocator's usage.