passing array of doubles to lua function using luabind::call_function

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

passing array of doubles to lua function using luabind::call_function

blackthirt33n .
How do I callĀ luabind::call_function<void>(myLuaState,"lua_function", ?????, n);

or how do I package up :

double *ptr = (double*) malloc(size_of(double),n);
to send to call function?

James



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user