Regular API function

simGetModuleInfo / sim.getModuleInfo

Description Deprecated. See sim.getPluginInfo instead
C/C++
synopsis
int simGetModuleInfo(const char* moduleName,int infoType,char** stringInfo,int* intInfo)
C/C++
parameters
moduleName: the name of the plugin. See sim.getModuleName.
infoType: the type of information to retrieve
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)