diff options
Diffstat (limited to 'src/plugin-luapsx.cc')
-rw-r--r-- | src/plugin-luapsx.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugin-luapsx.cc b/src/plugin-luapsx.cc new file mode 100644 index 0000000..e1f820c --- /dev/null +++ b/src/plugin-luapsx.cc @@ -0,0 +1,13 @@ +#include <BLua.h> +#include <luapsx.h> + +extern "C" { + +void init_plugin(Lua * L) { + static bool done = false; + if (done) return; + done = true; + Luapsx::pushstatics(L); +} + +} |