mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-23 14:04:58 +01:00
24 lines
368 B
C
24 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
|