diff options
| author | Petr Mrázek | 2012-02-28 03:37:56 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-02-28 03:37:56 +0100 |
| commit | 731472a4781f091ae313bd39d512207e920db10c (patch) | |
| tree | 25242218ca8f641ef4b36c6d6f46b4ad6cfb1f62 /library/Hooks-windows.cpp | |
| parent | f8721c88b57b22842a2d0ecf60f58b31d151b600 (diff) | |
| download | dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.gz dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.bz2 dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.xz | |
Add eggy hooks (linux only for now)
Diffstat (limited to 'library/Hooks-windows.cpp')
| -rw-r--r-- | library/Hooks-windows.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/library/Hooks-windows.cpp b/library/Hooks-windows.cpp index da95f395..920673c9 100644 --- a/library/Hooks-windows.cpp +++ b/library/Hooks-windows.cpp @@ -35,24 +35,6 @@ distribution. #include "tinythread.h" #include "modules/Graphic.h" -/* - * Plugin loading functions - */ -namespace DFHack -{ - DFLibrary * OpenPlugin (const char * filename) - { - return (DFLibrary *) LoadLibrary(filename); - } - void * LookupPlugin (DFLibrary * plugin ,const char * function) - { - return (void *) GetProcAddress((HMODULE)plugin, function); - } - void ClosePlugin (DFLibrary * plugin) - { - FreeLibrary((HMODULE) plugin); - } -} /*************************************************************************/ // extremely boring wrappers beyond this point. Only fix when broken |
