19 #ifndef GNASH_SHAREDLIB_H
20 #define GNASH_SHAREDLIB_H
26 #include <boost/thread/mutex.hpp>
32 #define LIBLTDL_DLL_IMPORT 1
51 typedef boost::mutex::scoped_lock scoped_lock;
61 bool openLib(
const std::string &filespec);
71 lt_dlhandle _dlhandle;
72 std::string _filespec;
73 boost::mutex _libMutex;
DSOEXPORT initentry * getInitEntry(const std::string &symbol)
Definition: sharedlib.cpp:120
bool entrypoint(void *obj)
Definition: sharedlib.h:55
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
The base class for all ActionScript objects.
Definition: as_object.h:161
DSOEXPORT SharedLib(const std::string &filespec)
Definition: sharedlib.cpp:60
#define DSOEXPORT
Definition: dsodefs.h:55
DSOEXPORT bool openLib()
Definition: sharedlib.cpp:87
void initentry(as_object &obj)
Definition: sharedlib.h:56
TODO: document this class.
Definition: sharedlib.h:49
entrypoint * getDllSymbol(const std::string &symbol)
Definition: sharedlib.cpp:144