all repos — openbox @ 6cb4d8bca80cd5338ad03ae02a1b754a4fba41c9

openbox fork - make it a bit more like ryudo

c/clientwrap.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __clientwrap_h
#define __clientwrap_h

#include <Python.h>

struct Client;

/* ClientWrap is a PyObject */
typedef struct ClientWrap {
    PyObject_HEAD
    struct Client *client;
} ClientWrap;

void clientwrap_startup();
void clientwrap_shutdown();

PyObject *clientwrap_new(struct Client *client);

#endif