planetis-m / naylib

Yet another raylib Nim wrapper
MIT License
209 stars 11 forks source link

Use Nim's allocator #49

Closed planetis-m closed 1 year ago

planetis-m commented 1 year ago

Seems doable, create a naylib.h file that includes nimbase.h and has the function definitions of allocShared/deallocShared. then define RLALLOC/RLDEALLOC and include raylib.h. Make the nim raylib module use that as a .header.

planetis-m commented 1 year ago

Doable but a bad idea, considering how picky nims allocator is.