Description
|
Returns auxiliary information about a loaded plugin. See also simSetModuleInfo and sim.getModuleName.
|
C/C++ synopsis
|
simInt simGetModuleInfo(const simChar* moduleName,simInt infoType,simChar** stringInfo,simInt* intInfo) |
C/C++ parameters |
stringInfo: a pointer to a string information, in case the information type is for a string. The user is in charge of releasing the string buffer with sim.releaseBuffer
intInfo: a pointer to an integer information, in case the information type is for an integer.
|
C/C++ return value
|
-1 in case of an error
|
Lua synopsis
|
string/int info=sim.getModuleInfo(string moduleName,int infoType) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|
Python synopsis |
string/int info=sim.getModuleInfo(string moduleName,int infoType) |