scpt_push_integer

March 26, 2020 Contributors

Name

scpt_push_integer — Push an integer on to the stack

Synopsis

#include "modules/scriptlets/ec_scriptlet.h"

| void **scpt_push_integer** ( | thr, |   |
|   | value); |   |

scpt_thread * <var class="pdparam">thr</var>;
int <var class="pdparam">value</var>;

Description

Push an integer on to the stack.

Parameters

thr

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

value

The double that you wish to push.

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