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 type
  • name: Name of the algebraic type
  • url: An optional url to the algebraic documentation
  • indirect: If true then field is indirection to another field
  • alg: [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: