omni
omni copied to clipboard
Remove all C stuff
And just have it written in plain nim, similarly as the buffer interface in omnimax.
Would this thugh be a bad interface for developers? They wouldn't rely on omni.h anymore, possibly
Nim's function pointers: https://nim-lang.org/docs/manual.html#types-procedural-type
This would mean rewriting the whole omni_alloc interface in Nim. One thing to be checked then is the validity of the nim code with the omni.h header
https://forum.nim-lang.org/t/6148