[NewIO-developers] Importing API's into NewIO
Status: Alpha
Brought to you by:
cnystrom
|
From: Jason R. <ja...@ne...> - 2009-01-28 10:23:31
|
Hey guys, Something I've realized about the current source tree is that it would be easy (using the msg_send_[TYPE] functions and the header files to implement functions) to write a parser to grab API's out of compiled binaries (ELF, PE, etc) and parse them into usable NewIO C code to add functionality to the client. You could really just prefix all the functions with _nio_[LIBNAME] or something and add a switch to define I/O types (SDL, AGAR, OpenGL) efficiently. Automated API imports can be difficult to actually release as a feature though, and I haven't found a decent ELF parsing library (objdump's doesn't actually look very nice). Could definately make porting code a might bit simpler, though. Thoughts? |