SomSetExpectedIds: Difference between revisions
Appearance
Created page with "This function tells SOM how many unique SOM IDs a client program expects to use. ==Syntax== <PRE> unsigned long numIds; somSetExpectedIds(numIds); </PRE> ==Parameters==..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:somSetExpectedIds}} | |||
This function tells SOM how many unique SOM IDs a client program expects to use. | This function tells SOM how many unique SOM IDs a client program expects to use. | ||
==Syntax== | ==Syntax== | ||
<PRE> | <PRE> |
Revision as of 03:31, 13 October 2017
This function tells SOM how many unique SOM IDs a client program expects to use.
Syntax
unsigned long numIds; somSetExpectedIds(numIds);
Parameters
- numIds (unsigned long)
- The number of SOM IDs the client program expects to use.
Return Code
Remarks
This function informs the SOM run-time environment how many unique SOM IDs a client program expects to use during its execution. This has the potential of slightly improving the program's space and time efficiency, if the value specified is accurate. This function, if used, must be called prior to any explicit or implicit invocation of the somEnvironmentNew function to have any effect.
Example Code
#include <som.h> somSetExpectedIds(1000);