diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-23 15:41:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-23 15:41:02 +0100 |
commit | f0b6c8e111da767dff2394216b309f737a5f6099 (patch) | |
tree | 9cc0fb87ce2ac01cc7554942a0704ccd4a7bd5b0 /libs/ardour/ardour/luabindings.h | |
parent | 7d7f63363b13c06cd02e0f810523d897921e660a (diff) |
include static liblua with libardour & prepare bindings
Diffstat (limited to 'libs/ardour/ardour/luabindings.h')
-rw-r--r-- | libs/ardour/ardour/luabindings.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libs/ardour/ardour/luabindings.h b/libs/ardour/ardour/luabindings.h new file mode 100644 index 0000000000..65f4c23bf7 --- /dev/null +++ b/libs/ardour/ardour/luabindings.h @@ -0,0 +1,39 @@ +/* + Copyright (C) 2016 Robin Gareus <robin@gareus.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef __ardour_luabindings_h__ +#define __ardour_luabindings_h__ + +#include "lua/lua.h" +#include "ardour/libardour_visibility.h" + +namespace ARDOUR { + class Session; + namespace LuaBindings { + LIBARDOUR_API extern void stddef (lua_State* L); + + LIBARDOUR_API extern void common (lua_State* L); + LIBARDOUR_API extern void dsp (lua_State* L); + LIBARDOUR_API extern void session (lua_State* L); + + LIBARDOUR_API extern void set_session (lua_State* L, Session *s); + + } // namespace LuaBindings +} // namespace ARDOUR + +#endif /* __ardour_luabindings_h__ */ |