Skip to main content

Name

scpt_push_ref — Push a reference onto the stack

Synopsis

#include "modules/scriptlets/ec_scriptlet.h"

| void **scpt_push_ref** ( | thr, |   | |   | ref); |   |

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

Description

Push a reference onto the stack.

Parameters

thr

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

ref

The reference that you wish to push.

Return Value

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?