Create an object link¶
ss_pers_refer
is a function defined in sspers.c.
Synopsis:
-
ss_pers_t *
ss_pers_refer
(ss_scope_t *scope, ss_persobj_t *persobj, ss_pers_t *pers)¶
Formal Arguments:
scope
: The scope to whichpersobj
belongs.persobj
: The object to which the new link will point.pers
: Optional memory for the link.
Description: This function creates (or fills in) a link to a new object that exists in memory.
Return Value: Returns a pointer to a persisent object link (either the supplied pers
or a newly allocated one) on success;
the null pointer on failure.
Parallel Notes: Independent
See Also:
- Persistent Objects: Introduction for current chapter