summaryrefslogtreecommitdiff
path: root/gtk2_ardour/luadoc.cc
blob: 794740eedab25fe8588fce386eb3de3cb3bd9b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <stdio.h>
#include <string.h>
#include <iostream>

#include "ardour/luabindings.h"
#include "luainstance.h"

int main (int argc, char **argv)
{
	luabridge::setPrintBindings (true);
	LuaState lua;
	lua_State* L = lua.getState ();
#ifdef LUADOCOUT
	printf ("doc = {\n");
#else
	printf ("[\n");
#endif
	LuaInstance::register_classes (L);
	ARDOUR::LuaBindings::dsp (L);
#ifdef LUADOCOUT
	printf ("}\n");
#else
	printf ("{} ]\n");
#endif
	return 0;
}