25 lines
368 B
C
25 lines
368 B
C
#ifndef _MULTIDICT_C_H
|
|
#define _MULTIDICT_C_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
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
|