Automatic wrapper dll creation

BlitzMax Forums/BlitzMax Programming/Automatic wrapper dll creation

Chris C(Posted 2006) [#1]
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?