| 45 | return (_handle != NULL); |
| 46 | } |
| 47 | fnRegisterPlugin* register_function() |
| 48 | { |
| 49 | #ifdef WIN32 |
| 50 | return reinterpret_cast<fnRegisterPlugin*>(GetProcAddress(_handle, "register_pugg_plugin")); |
| 51 | #else |
| 52 | return reinterpret_cast<fnRegisterPlugin*>(dlsym(_handle, "register_pugg_plugin")); |
| 53 | #endif |
| 54 | } |
| 55 | void free() |
| 56 | { |
| 57 | #ifdef WIN32 |