all repos — openbox @ 474f689132d906a553bdc695d3c179652cbe8c53

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