#endif
#include "python.hh"
-#include "python_client.hh"
+#include "client.hh"
#include "openbox.hh"
namespace ob {
printf("SHIT CALLED!@!\n");
+ Py_INCREF(Py_None);
return Py_None;
}
{"shit", shit, METH_VARARGS,
"Do some shit, yo!"},
- {"get_client_dict", get_client_dict, METH_VARARGS,
- "Get the list of all clients"},
+/* {"get_client_dict", get_client_dict, METH_VARARGS,
+ "Get the list of all clients"},*/
{NULL, NULL, 0, NULL}
};
void initopenbox()
{
- PyClient_Type.ob_type = &PyType_Type;
+ OBClient_Type.ob_type = &PyType_Type;
Py_InitModule("openbox", OBMethods);
}