1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
4 # include "../config.h"
8 #include "python_client.hh"
15 static PyObject *shit(PyObject *self, PyObject *args)
17 if (!PyArg_ParseTuple(args, ":shit"))
20 printf("SHIT CALLED!@!\n");
27 static PyMethodDef OBMethods[] = {
28 {"shit", shit, METH_VARARGS,
31 {"get_client_dict", get_client_dict, METH_VARARGS,
32 "Get the list of all clients"},
39 PyClient_Type.ob_type = &PyType_Type;
41 Py_InitModule("openbox", OBMethods);