From f8a47de5ec444c452093371e3db16857eb39a490 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Mar 2003 21:11:39 +0000 Subject: merge the C branch into HEAD --- c/clientwrap.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 c/clientwrap.h (limited to 'c/clientwrap.h') diff --git a/c/clientwrap.h b/c/clientwrap.h new file mode 100644 index 00000000..b20ca914 --- /dev/null +++ b/c/clientwrap.h @@ -0,0 +1,19 @@ +#ifndef __clientwrap_h +#define __clientwrap_h + +#include + +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 -- cgit v1.2.3