src/platform/python/core.h (view raw)
1/* Copyright (c) 2013-2017 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#include <mgba-util/common.h>
7
8#include "pycommon.h"
9
10struct mCoreCallbacks* mCorePythonCallbackCreate(void* pyobj);
11
12PYEXPORT void _mCorePythonCallbacksVideoFrameStarted(void* user);
13PYEXPORT void _mCorePythonCallbacksVideoFrameEnded(void* user);
14PYEXPORT void _mCorePythonCallbacksCoreCrashed(void* user);
15PYEXPORT void _mCorePythonCallbacksSleep(void* user);