mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
just a bunch of random code cleanup i did on the train bored, plus a d3d implementation of NativeVertexFormat which isn't actually used yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -24,23 +24,23 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
// Abstracts the (few) differences between dynamically loading DLLs under Windows
|
||||
// and .so / .dylib under Linux/MacOSX.
|
||||
class DynamicLibrary
|
||||
{
|
||||
public:
|
||||
public:
|
||||
DynamicLibrary();
|
||||
int Load(const char *filename);
|
||||
int Unload();
|
||||
void *Get(const char *funcname) const;
|
||||
bool IsLoaded() const { return library != 0; }
|
||||
|
||||
DynamicLibrary();
|
||||
int Load(const char* filename);
|
||||
int Unload();
|
||||
void* Get(const char* funcname) const;
|
||||
|
||||
bool IsLoaded() const {return(library != 0);}
|
||||
|
||||
private:
|
||||
std::string library_file;
|
||||
private:
|
||||
std::string library_file;
|
||||
#ifdef _WIN32
|
||||
HINSTANCE library;
|
||||
HINSTANCE library;
|
||||
#else
|
||||
void* library;
|
||||
void *library;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user