Next Previous Contents

76. SLang_push_string

Synopsis

Push a string onto the stack

Usage

int SLang_push_string (char *s)

Description

SLang_push_string pushes a copy of the string specified by s onto the interpreter's run-time stack. It returns zero upon success, or -1 upon error setting SLang_Error accordingly.

Notes

If s is NULL, this function pushes NULL (SLANG_NULL_TYPE) onto the stack.

See Also

SLang_push_malloced_string


Next Previous Contents