Pass BM function pointers to C/C++ code

BlitzMax Forums/BlitzMax Programming/Pass BM function pointers to C/C++ code

Hi,

I tend to just wrap these up in a 'byte ptr', eg:

Extern
Function GetLuaState:Byte Ptr()
End Extern

Local lua_state:Byte Ptr=GetLuaState()