Csound Csound-dev Csound-tekno Search About

[Csnd] Lua or Python and Structures

Date2013-07-24 15:18
Fromfrancesco
Subject[Csnd] Lua or Python and Structures
Hello All,
i see in the API some functions (for example csoundInitTimerStruct (RTCLOCK
*))
that needs a pointer to a structure (am i right?);
question: how can i, if i can, use those using Lua or Python?
Or are only available from C/C++?

Thanks,
ciao,
francesco.
 



--
View this message in context: http://csound.1045644.n5.nabble.com/Lua-or-Python-and-Structures-tp5725976.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-07-24 15:33
FromMichael Gogins
SubjectRe: [Csnd] Lua or Python and Structures
You can do this with LuaJIT/FFI. See the LuaJIT site for how.

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 24, 2013 at 10:18 AM, francesco <ilterzouomo@fastwebnet.it> wrote:
Hello All,
i see in the API some functions (for example csoundInitTimerStruct (RTCLOCK
*))
that needs a pointer to a structure (am i right?);
question: how can i, if i can, use those using Lua or Python?
Or are only available from C/C++?

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/Lua-or-Python-and-Structures-tp5725976.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"