Regular API function

simSetModuleInfo

Description Attaches additional information to a loaded plugin. See also sim.getModuleInfo.
C synopsis simInt simSetModuleInfo(const simChar* moduleName,simInt infoType,const simChar* stringInfo,simInt intInfo)
C parameters
moduleName: the name of the plugin.
infoType: the type of information to set
stringInfo: a string information value, in case the information type is for a string.
intInfo: an integer information value, in case the information type is for an integer.
C return value
-1 in case of an error
Lua synopsis sim.setModuleInfo(string moduleName,int infoType,string/int info)
Lua parameters
similar to the C-function counterpart
Lua return values
none