tuxbot-bot/venv/lib/python3.7/site-packages/multidict/_multidict.h
2019-12-16 18:12:10 +01:00

27 lines
413 B
C

#ifndef _MULTIDICT_C_H
#define _MULTIDICT_C_H
#ifdef __cplusplus
extern "C" {
#endif
#include <Python.h>
#include "_pair_list.h"
typedef struct { // 16 or 24 for GC prefix
PyObject_HEAD // 16
PyObject *weaklist;
pair_list_t pairs;
} MultiDictObject;
typedef struct {
PyObject_HEAD
PyObject *weaklist;
MultiDictObject *md;
} MultiDictProxyObject;
#ifdef __cplusplus
}
#endif
#endif