NAME

Rivl_DupSignal, Rivl_ConvertSignal - C interfaces to common node commands

SYNOPSIS

#include <rivl.h>
Rivl_Signal
Rivl_DupSignal (interp, signal)
Rivl_Signal
Rivl_ConvertSignal (interp, signal, newValueType)

ARGUMENTS

Tcl_Interp *interp (in)
The Tcl interpreter.
Rivl_Signal signal (in)
The input signal to the new node.
Rivl_ValueType newValueType (in)
The value type to convert signal to.

DESCRIPTION

These commands provide a C interface to frequently used user-level Rivl commands.

Rivl_DupSignal calls sig_dup signal and returns the resulting signal. See the sig_dup documentation for details.

Rivl_ConvertSignal calls sig_convert on signal and newValueType and returns the resulting signal. See the sig_convert documentation for details.

In general, Rivl commands that return signals can be called from C with Rivl_EvalToSignal.