doc/html/coding.html
branchB-work
changeset 142 90ed94768998
parent 132 eab0aebcdbf2
child 146 0874658dbd51
     1.1 --- a/doc/html/coding.html	Mon Aug 08 20:16:12 2005 +0000
     1.2 +++ b/doc/html/coding.html	Mon Aug 08 20:18:11 2005 +0000
     1.3 @@ -352,18 +352,21 @@
     1.4  	The returned string is a pointer to a static buffer, and should be
     1.5  	copied by the caller to local storage.
     1.6  	<i>[added in 1.14]</i>
     1.7 -<a name=LOAD_PLUGIN><p><li></a>
     1.8 -<tt> int <b>LOAD_PLUGIN(PLID, <i>const char *cmdline, PLUG_LOADTIME now, void **plugin_handle</i>)</b></tt>
     1.9 -	<br>Attempts to load a plugin as if "meta load <cmdline>" was passed.  If
    1.10 -    	plugin_handle is passed, it will be zeroed on failure or contain the pointer to the 
    1.11 -    	DLL handle on success.  Returns 1 for success and 0 for failure.  <i>[added in 1.18]</i>
    1.12 -<a name=UNLOAD_PLUGIN><p><li></a>
    1.13 -<tt> int <b>UNLOAD_PLUGIN(PLID, <i>const char *cmdline, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.14 -	<br>Attempts to unload a plugin given by cmdline.  A plugin cannot unload itself.  <i>[added in 1.18]</i>
    1.15 -<a name=UNLOAD_PLUGIN_BY_HANDLE><p><li></a>
    1.16 -<tt> int <b>UNLOAD_PLUGIN_BY_HANDLE(PLID, <i>void *plugin_handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.17 -	<br>Attempts to unload a plugin given by the DLL's handle from LOAD_PLUGIN.  
    1.18 -	A plugin cannot unload itself.  <i>[added in 1.18]</i>
    1.19 +<a name="LOAD_PLUGIN"><p><li></a>
    1.20 +<tt> int <b>LOAD_PLUGIN(PLID, <i>const char *name, PLUG_LOADTIME now, void **handle</i>)</b></tt>
    1.21 +    <br>Attempts to load a plugin as if "meta load &lt;name&gt;" was passed.  If
    1.22 +	handle is passed, it will be NULL on failure or contain the DLL handle on success.  
    1.23 +	Returns 1 for success and 0 for failure.  
    1.24 +	<i>[added in 1.18]</i>
    1.25 +<a name="UNLOAD_PLUGIN"><p><li></a>
    1.26 +<tt> int <b>UNLOAD_PLUGIN(PLID, <i>const char *name, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.27 +	<br>Attempts to unload a plugin given by name.  A plugin cannot unload itself.
    1.28 +	<i>[added in 1.18]</i>
    1.29 +<a name="UNLOAD_PLUGIN_BY_HANDLE"><p><li></a>
    1.30 +<tt> int <b>UNLOAD_PLUGIN_BY_HANDLE(PLID, <i>void *handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.31 +	<br>Attempts to unload a plugin given by the DLL handle from LOAD_PLUGIN.  A plugin cannot unload itself.
    1.32 +	<i>[added in 1.18]</i>
    1.33 +
    1.34  </ul>
    1.35  
    1.36  <p><br>