2014-02-27 22:45:44 +02:00
|
|
|
#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>
|
|
|
|
|
2014-11-17 09:52:15 +02:00
|
|
|
struct core_core;
|
|
|
|
|
2014-02-27 22:45:44 +02:00
|
|
|
void try_init_c_module(const loadlib::module& module);
|
2014-11-17 09:52:15 +02:00
|
|
|
void try_uninit_c_module(const loadlib::module& module);
|
|
|
|
bool core_uses_module(core_core* core, const loadlib::module& module);
|
2014-02-27 22:45:44 +02:00
|
|
|
void initialize_all_builtin_c_cores();
|
|
|
|
|
|
|
|
template<typename T> struct ccore_call_param_map { static int id; static const char* name; };
|
|
|
|
|
|
|
|
#endif
|