Re: [NewIO-developers] Importing API's into NewIO
Status: Alpha
Brought to you by:
cnystrom
|
From: Chris N. <cny...@gm...> - 2009-01-30 03:58:34
|
On Wed, Jan 28, 2009 at 3:15 AM, Jason Reynolds <ja...@ne...> wrote: > 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? That is an interesting idea. There must be a huge number of APIs out in the wild though right? Chris -- E-Mail: Chris Nystrom <cny...@gm...> Saving the world from web programming. http://www.newio.org - G-Talk: cnystrom |