summaryrefslogtreecommitdiffstats
path: root/src/scripting/bindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripting/bindings.c')
-rw-r--r--src/scripting/bindings.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/scripting/bindings.c b/src/scripting/bindings.c
index 1edc1e3..7e45146 100644
--- a/src/scripting/bindings.c
+++ b/src/scripting/bindings.c
@@ -16,14 +16,17 @@
* <http://www.gnu.org/licenses/>.
*/
+#define _SCRIPTING_BINDINGS_C_
+
#include <stdlib.h>
#include "ffi.h"
#include "bindings.h"
-static struct ffi_namespace *ns;
+struct ffi_namespace *top_ns;
void
bindings_init(void)
{
- ns = ffi_add_namespace(NULL, "bouken");
+ top_ns = ffi_add_namespace(NULL, "bouken");
+ bindings_viewport_init();
}