Call Blitzmax function in C++

BlitzMax Forums/BlitzMax Programming/Call Blitzmax function in C++

Mathieu A(Posted 2005) [#1]
Hi!
Is there a way to call blitzmax function and type in C++ ?

Thanks


gman(Posted 2005) [#2]
yes. you need to setup a callback in C++ using function pointers. you can have pointers to type functions or regular functions but not methods. i couldnt explain it any better than this post:

Pass BM function pointers to C/C++ code