added status to get_module
This commit is contained in:
parent
96ab54a107
commit
864c6d6aa4
|
@ -536,10 +536,11 @@ native is_module_loaded(const name[]);
|
||||||
* authorLen - maximal length of the author
|
* authorLen - maximal length of the author
|
||||||
* version[] - the version of the module will be stored here
|
* version[] - the version of the module will be stored here
|
||||||
* versionLen - maximal length of the version
|
* versionLen - maximal length of the version
|
||||||
|
* status - the status of the module will be stored here
|
||||||
* Return value:
|
* Return value:
|
||||||
* id - success
|
* id - success
|
||||||
* -1 - module not found */
|
* -1 - module not found */
|
||||||
native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen);
|
native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen, &status);
|
||||||
|
|
||||||
/* Returns number of currently registered modules */
|
/* Returns number of currently registered modules */
|
||||||
native get_modulesnum();
|
native get_modulesnum();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user