simSetPluginInfo

Attaches additional information to a loaded plugin

C++ synopsis

int simSetPluginInfo(const char* pluginName, int infoType, const char* stringInfo, int intInfo)

Arguments

  • pluginName: name of the plugin. See sim.getPluginName.
  • infoType: the type of information to set
  • stringInfo: string information value, in case the information type is for a string.
  • intInfo: integer information value, in case the information type is for an integer.

Return

  • -1 in case of an error


See also: