mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2025-12-20 05:39:31 -06:00
13 lines
264 B
C
13 lines
264 B
C
#include <Python.h>
|
|
|
|
typedef struct {
|
|
PyObject ob_base;
|
|
PyObject* filelike;
|
|
PyObject* blksize;
|
|
} FileWrapper;
|
|
|
|
PyTypeObject FileWrapper_Type;
|
|
|
|
#define FileWrapper_CheckExact(object) ((object)->ob_type == &FileWrapper_Type)
|
|
|
|
void FileWrapper_Init(void); |