Declare a new algebraic type¶
saf_declare_algebraic is a function defined in algebraic.c.
Synopsis:
-
SAF_Algebraic *
saf_declare_algebraic(SAF_ParMode pmode, SAF_Db *db, const char *name, const char *url, hbool_t indirect, SAF_Algebraic *alg)¶
Formal Arguments:
db: The database in which to create the new algebraic typename: Name of the algebraic typeurl: An optionalurlto the algebraic documentationindirect: If true then field is indirection to another fieldalg: [OUT] Optional handle to initialize (and return)
Description: This function declares a new algebraic type with a unique identification number.
Return Value: A handle to the new algebraic type.
See Also:
- Algebraic Types: Introduction for current chapter