Copyright (C) 2000-2012 |
GNU Info (g-wrap.info)Defining a new constantDefining a new constant ======================= - Function: new-constant sym-name type varb Defines a constant with C value VARB and C-type TYPE, and export it into the interpreter with Scheme-name SYM-NAME. SYM-NAME and VARB must be strings. If `(doc DESCRIPTION)' is passed as an option, DESCRIPTION is used to document the constant in the documentation file. Example: (new-constant 'MNULL 'MAT "NULL" '(doc "null matrix")) This adds a value to the interpreter which is the `NULL' pointers, wrapped as a `MAT' value, and bound to symbol `MNULL'. automatically generated by info2www version 1.2.2.9 |