Next Previous Contents

60. SLadd_intrin_var_table

Synopsis

Add a table of intrinsic variables to the interpreter

Usage

int SLadd_intrin_var_table (SLang_Intrin_Var_Type *tbl, char *pp_name);

Description

The SLadd_intrin_var_table function adds an array, or table, of SLang_Intrin_Var_Type objects to the interpreter. The first parameter, tbl specifies the table to be added. The second parameter pp_name, if non-NULL will be added to the list of preprocessor symbols.

This function returns -1 upon failure or zero upon success.

Notes

A table should only be loaded one time and it is considered to be an error on the part of the application if it loads a table more than once.

See Also

SLadd_intrin_var_table, SLadd_intrinsic_function, SLdefine_for_ifdef


Next Previous Contents