Find one algebraic type¶
saf_find_one_algebraic
is a function defined in algebraic.c.
Synopsis:
-
SAF_Algebraic *
saf_find_one_algebraic
(SAF_Db *database, const char *name, SAF_Algebraic *buf)¶
Formal Arguments:
database
: The database in which to searchname
: The name for which to searchbuf
: [OUT
] Optional algebraic handle to initialize and return
Description: This is a convenience version of saf_find_algebraic
that returns the first algebraic type it finds whose
name matches that which is specified.
Return Value: A handle to a matching algebraic type on success; SAF__ERROR_HANDLE
on failure.
See Also:
- Algebraic Types: Introduction for current chapter