diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-24 19:20:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-24 19:20:17 +0000 |
| commit | 2e273ae3ac020cc6a43c37942089b3eb7d214102 (patch) | |
| tree | c602c3dfac23d6f9aaf414a1129b9579318d8a06 /src/python.cc | |
| parent | fe55bb846db1933d8d6f023236298940cab441f8 (diff) | |
removing old python bullshit
Diffstat (limited to 'src/python.cc')
| -rw-r--r-- | src/python.cc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/python.cc b/src/python.cc deleted file mode 100644 index 5a4d1bcf..00000000 --- a/src/python.cc +++ /dev/null @@ -1,44 +0,0 @@ -// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- - -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif - -#include "python.hh" -#include "client.hh" -#include "openbox.hh" - -namespace ob { - -extern "C" { - -static PyObject *shit(PyObject *self, PyObject *args) -{ - if (!PyArg_ParseTuple(args, ":shit")) - return NULL; - - printf("SHIT CALLED!@!\n"); - - Py_INCREF(Py_None); - return Py_None; -} - - - -static PyMethodDef OBMethods[] = { - {"shit", shit, METH_VARARGS, - "Do some shit, yo!"}, - -/* {"get_client_dict", get_client_dict, METH_VARARGS, - "Get the list of all clients"},*/ - - {NULL, NULL, 0, NULL} -}; - -void initopenbox() -{ - Py_InitModule("openbox", OBMethods); -} -} - -} |
