passing array of doubles to lua function using luabind::call_function
"blackthirt33n ." <[email protected]> Mon, 10 Jun 2013 21:28:00 -0500
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <CA+z1-f_dnTE+yiNTgk_5HpYT27L6ABj1buFAqW7V6+-UQp7qrA@mail.gmail.com> |
--===============1544413541309937170== Content-Type: multipart/alternative; boundary=001a1133d77e5d35be04ded7a5d3 --001a1133d77e5d35be04ded7a5d3 Content-Type: text/plain; charset=ISO-8859-1 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 --001a1133d77e5d35be04ded7a5d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">How do I call=A0luabind::call_function<void>(myLuaSt= ate,"lua_function", ?????, n);<div><br></div><div style>or how do= I package up :</div><div style><br></div><div style>double *ptr =3D (doubl= e*) malloc(size_of(double),n);</div> <div style>to send to call function?</div><div style><br></div><div style>J= ames</div><div style><br></div><div style><br></div></div> --001a1133d77e5d35be04ded7a5d3-- --===============1544413541309937170== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev --===============1544413541309937170== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user --===============1544413541309937170==--