scpt_push_string

March 26, 2020 Contributors

Name

scpt_push_string — Push a string onto the stack

Synopsis

#include "modules/scriptlets/ec_scriptlet.h"

| void **scpt_push_string** ( | thr, |   |
|   | buf, |   |
|   | buflen); |   |

scpt_thread * <var class="pdparam">thr</var>;
const char * <var class="pdparam">buf</var>;
int <var class="pdparam">buflen</var>;

Description

Push a string onto the stack.

Parameters

thr

The script thread. For a description of this data type see “scpt_thread”.

buf

The string buffer.

buflen

The size of the buffer.

Return Value

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

Chapter 42, Scriptlet (and Alerting) Functions