Passing BMax objects to/from C code

BlitzMax Forums/BlitzMax Programming/Passing BMax objects to/from C code

kyoryu(Posted 2005) [#1]
Heya folks,

I was looking at a way to pass BMax objects to and from C code, so as to implement a generic string/object map (most likely just wrapping STL), and didn't see anything about how to get get through the wrapper.

Thanks for the help.


rdodson41(Posted 2005) [#2]
I think you can do it if the code you import is C++, but I'm not sure how. You can probably just use the name of the object and pass it like any other argument. Don't quote me on that though.