added new typedef for normal load function
authorDavid Anderson <dvander@alliedmods.net>
Wed Oct 10 01:20:36 2007 +0000 (2007-10-10)
changeset 406d159cb02b2bb
parent 405 4699669af081
child 407 af2530a35c5c
added new typedef for normal load function
sourcemm/ISmmPluginExt.h
     1.1 --- a/sourcemm/ISmmPluginExt.h	Wed Oct 10 00:55:58 2007 +0000
     1.2 +++ b/sourcemm/ISmmPluginExt.h	Wed Oct 10 01:20:36 2007 +0000
     1.3 @@ -98,5 +98,12 @@
     1.4   */
     1.5  typedef void (*METAMOD_FN_UNLOAD)();
     1.6  
     1.7 +/**
     1.8 + * @brief Original type of load function.  CreateInterfaceFn from Valve.
     1.9 + * 
    1.10 + * Plugins will expose this as "CreateInterface".
    1.11 + */
    1.12 +typedef void *(*METAMOD_FN_ORIG_LOAD)(const char *, int *);
    1.13 +
    1.14  #endif //INCLUDE_METAMOD_SOURCE_PLUGIN_EXT_H_
    1.15