updated comment

This commit is contained in:
David Anderson 2006-05-11 10:07:32 +00:00
parent 035c54350e
commit 79f86bfabd

View File

@ -901,7 +901,7 @@ native dbg_fmt_error(buffer[], maxLength);
native set_native_filter(const handler[]); native set_native_filter(const handler[]);
/** /**
* This function sets a module filter. It will let you intercept the automatic requirement * This function sets a module/library filter. It will let you intercept the automatic requirement
* of a module and return PLUGIN_CONTINUE to fail load or PLUGIN_HANDLED to imply that load * of a module and return PLUGIN_CONTINUE to fail load or PLUGIN_HANDLED to imply that load
* can continue even without the module. * can continue even without the module.
* *
@ -911,8 +911,10 @@ native set_native_filter(const handler[]);
* *
* Your handler will be called with this prototype: * Your handler will be called with this prototype:
* *
* public module_filter(const module[]); * public module_filter(const library[], bool:isClass);
* module - logtag of the module required to load the plugin * library - library or class name of the module that is required
* isClass - true if the name is a library class, false if it's a normal module
*
* *
* set_module_filter() returns 0 on success (unlike most natives). * set_module_filter() returns 0 on success (unlike most natives).
*/ */