native

get_module

Syntax

native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen, &status);

Description

Gets info about a module.
Parameters:
id - the id of the module
name[] - The name of the module will be stored here
nameLen - maximal length of the name
author[] - the author will be stored here
authorLen - maximal length of the author
version[] - the version of the module will be stored here
versionLen - maximal length of the version
status - the status of the module will be stored here
Return value:
id - success
-1 - module not found