all repos — mgba @ 7bd5ae9a701d00dd2668ae4ad5ddc3ba2785a333

mGBA Game Boy Advance Emulator

src/platform/python/_builder.h (view raw)

 1#define COMMON_H
 2#define PNG_H
 3#define _SYS_TIME_H
 4#define _SYS_TIME_H_
 5#define _TIME_H
 6#define _TIME_H_
 7
 8#define ATTRIBUTE_FORMAT(X, Y, Z)
 9#define DECL_BITFIELD(newtype, oldtype) typedef oldtype newtype
10#define DECL_BIT(type, name, bit)
11#define DECL_BITS(type, name, bit, nbits)
12
13typedef int... time_t;
14typedef int... off_t;
15typedef ... va_list;
16typedef ...* png_structp;
17typedef ...* png_infop;
18typedef ...* png_unknown_chunkp;
19
20void free(void*);
21
22#include <limits.h>
23
24#include "core/core.h"
25#include "core/tile-cache.h"
26#include "platform/python/vfs-py.h"
27#include "platform/python/log.h"
28
29#ifdef USE_PNG
30#include "util/png-io.h"
31#endif
32#ifdef M_CORE_GBA
33#include "arm/arm.h"
34#include "gba/gba.h"
35#include "gba/input.h"
36#include "gba/renderers/tile-cache.h"
37#endif
38#ifdef M_CORE_GB
39#include "lr35902/lr35902.h"
40#include "gb/gb.h"
41#include "gba/input.h"
42#include "gb/renderers/tile-cache.h"
43#endif