summaryrefslogtreecommitdiffstats
path: root/bindings/lang_python_wrapper_bottom.c
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/lang_python_wrapper_bottom.c')
-rw-r--r--bindings/lang_python_wrapper_bottom.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bindings/lang_python_wrapper_bottom.c b/bindings/lang_python_wrapper_bottom.c
new file mode 100644
index 00000000..737ec02e
--- /dev/null
+++ b/bindings/lang_python_wrapper_bottom.c
@@ -0,0 +1,17 @@
+PyMODINIT_FUNC
+init_lasso(void)
+{
+ if (PyType_Ready(&PyGObjectPtrType) < 0)
+ return;
+
+ m = Py_InitModule3("_lasso", lasso_methods, "_lasso wrapper module");
+ lasso_init();
+
+ lasso_wrapper_key = g_quark_from_static_string("PyLasso::wrapper");
+
+ Py_INCREF(&PyGObjectPtrType);
+ PyModule_AddObject(m, "PyGobjectPtr", (PyObject *)&PyGobjectPtrType);
+
+
+}
+