File size: 368 Bytes
065fee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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