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:
0: extended version string
1: build date string
2: extended version integer
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 -
Lua parameters
-
Lua return values
-

All regular API functions on one page