Ardour
9.0-pre0-582-g084a23a80d
|
#include <Stack.h>
Static Public Member Functions | |
static void | push (lua_State *L, int value) |
static int | get (lua_State *L, int index) |
Stack specialization for passing references to built-in types.
This allows to call functions using primitives, but the value assigned by the C++ function is lost.
http://sourceforge.net/p/luabind/mailman/message/32692027/
Alternatives:
Either would place hard constraints on the lua code though.
We currently only need this for Ardour::Editor::do_import() framecnt_t& and the returned position is not important. Stack specialization for int
.