lsnes/include/core/loadlib.hpp
Ilari Liusvaara 5ee7962cb9 Rudimentary library unloading support
Rather easy to crash the emulator with this, but...
2014-11-17 15:10:13 +02:00

11 lines
355 B
C++

#ifndef _loadlib__hpp__included__
#define _loadlib__hpp__included__
#include "library/loadlib.hpp"
void handle_post_loadlibrary();
void autoload_libraries(void(*on_error)(const std::string& libname, const std::string& err, bool system) = NULL);
void with_loaded_library(const loadlib::module& l);
void with_unloaded_library(loadlib::module& l);
#endif