Open vitreo12 opened 4 years ago
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
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