5ee7962cb9
Rather easy to crash the emulator with this, but...
17 lines
536 B
C++
17 lines
536 B
C++
#ifndef _interface__c_interface__hpp__included__
|
|
#define _interface__c_interface__hpp__included__
|
|
|
|
#define LSNES_BUILD_AS_BUILTIN_CORE
|
|
#include "c-interface.h"
|
|
#include <library/loadlib.hpp>
|
|
|
|
struct core_core;
|
|
|
|
void try_init_c_module(const loadlib::module& module);
|
|
void try_uninit_c_module(const loadlib::module& module);
|
|
bool core_uses_module(core_core* core, const loadlib::module& module);
|
|
void initialize_all_builtin_c_cores();
|
|
|
|
template<typename T> struct ccore_call_param_map { static int id; static const char* name; };
|
|
|
|
#endif
|