summaryrefslogtreecommitdiffstats
path: root/bindings/lang_python_wrapper_bottom.c
blob: 5f1220c323f8ff6bc052e60a321ff4e7323e72dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PyMODINIT_FUNC
init_lasso(void)
{
	PyObject *m;

	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);


}