{The S-lang C Library Reference}: SLang_get_function

Next Previous Contents

## 84. SLang_get_function

Synopsis

  Get a pointer to a S-lang function

Usage

  `SLang_Name_Type *SLang_get_function (char *fname)`

Description

  This function returns a pointer to the internal S-lang table entry of a function whose name is given by `fname`. It returns `NULL` upon failure. The value returned by this function can be used used `SLexecute_function` to call the function directly from C.

See Also

  `SLexecute_function`

Next Previous Contents