Automatic wrapper dll creation

BlitzMax Forums/BlitzMax Programming/Automatic wrapper dll creation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

if i have some c++ code like this
OgreNewt::Body* sow_addNewtonTreeCollision(Ogre::SceneNode *sn){

wouldnt it be nice to automagically get a .def file and .bmx containing
Global sow_addNewtonTreeCollision:Byte Ptr(sn:Byte Ptr)=getprocaddress(sow,"sow_addNewtonTreeCollision")


optionally creation of a .bmx containig "C" externs for .a imports or .cpp includes

am I missing somthing? anyone see any gotcha's?