Make a state handle a C automatic variable¶
SAF_StateGrp is a macro defined in saf.h.
Synopsis:
-
SAF_StateGrp(name, p_name, n)¶
Description: This macro puts the memory for a state object handle on the stack as an automatic variable rather than having the library or client worry about allocating or freeing it.
See Also:
- C-Automatic Handle Allocation: Introduction for current chapter