1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-03-22 13:19:40 +01:00

added new typedef for normal load function

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40492
This commit is contained in:
David Anderson 2007-10-10 01:20:36 +00:00
parent 47f21f457a
commit e5c5a2c1a0

View File

@ -98,5 +98,12 @@ typedef METAMOD_PLUGIN *(*METAMOD_FN_LOAD)(const MetamodVersionInfo *mvi,
*/
typedef void (*METAMOD_FN_UNLOAD)();
/**
* @brief Original type of load function. CreateInterfaceFn from Valve.
*
* Plugins will expose this as "CreateInterface".
*/
typedef void *(*METAMOD_FN_ORIG_LOAD)(const char *, int *);
#endif //INCLUDE_METAMOD_SOURCE_PLUGIN_EXT_H_