mirror of https://github.com/mgba-emu/mgba.git
Python: Fix build
This commit is contained in:
parent
3a2215a346
commit
c0ee3cac66
|
@ -33,7 +33,7 @@ void free(void*);
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "flags.h"
|
#include <mgba/flags.h>
|
||||||
|
|
||||||
#include <mgba/core/blip_buf.h>
|
#include <mgba/core/blip_buf.h>
|
||||||
#include <mgba/core/cache-set.h>
|
#include <mgba/core/cache-set.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@ cppflags.extend(["-I" + incdir, "-I" + srcdir, "-I" + bindir])
|
||||||
ffi.set_source("mgba._pylib", """
|
ffi.set_source("mgba._pylib", """
|
||||||
#define static
|
#define static
|
||||||
#define inline
|
#define inline
|
||||||
#include "flags.h"
|
#include <mgba/flags.h>
|
||||||
#define OPAQUE_THREADING
|
#define OPAQUE_THREADING
|
||||||
#include <mgba/core/blip_buf.h>
|
#include <mgba/core/blip_buf.h>
|
||||||
#include <mgba/core/cache-set.h>
|
#include <mgba/core/cache-set.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "flags.h"
|
#include <mgba/flags.h>
|
||||||
|
|
||||||
struct VFile;
|
struct VFile;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
#include "flags.h"
|
#include <mgba/flags.h>
|
||||||
|
|
||||||
#define CREATE_SHIM(PLAT, NAME, RETURN) \
|
#define CREATE_SHIM(PLAT, NAME, RETURN) \
|
||||||
RETURN _py ## PLAT ## SIOPythonDriver ## NAME (void* driver); \
|
RETURN _py ## PLAT ## SIOPythonDriver ## NAME (void* driver); \
|
||||||
|
|
Loading…
Reference in New Issue