Wrap a Library - How To
BlitzMax Forums/Brucey's Modules/Wrap a Library - How To
| ||
Brucey I was thinking about all this library wrapping you have done, and I have no clue how to go about doing it. I was wondering if you could shed some light... First: What would be the simplest one of your modules, for someone to look at and get an idea how to do the wrap? Second: Would it be possible for you to write up a quick and simple tutorial on how to wrap a library. Maybe take your simplest as an example and just quickly outline how you went about wrapping it. Or, if there is already some sort of tutorial out there, please link it. Thanks. |
| ||
I would like to know too |
| ||
Agreed, this would be most helpful. Jason. |
| ||
Yup, would be very useful. I specially don't understand when something is declared like function name(parameters)"functionname@4" - what is that @4 thing? Number of bytes used in return? Also, I get a little confused on how to use Varptr to pass variables by reference... some insights would be pretty cool. |
| ||
A decorated symbol name includes characters that distinguish how a public symbol has been declared. And it's windows only.. For __stdcall functions, names include the "@" character and a decimal number that specifies the number of bytes in its function parameters. |