BRL-CAD
tclcad_eval.c File Reference
#include "common.h"
#include <tcl.h>
Include dependency graph for tclcad_eval.c:

Go to the source code of this file.

Functions

int tclcad_eval (Tcl_Interp *interp, const char *command, size_t num_args, const char *const *args)
 
int tclcad_eval_noresult (Tcl_Interp *interp, const char *command, size_t num_args, const char *const *args)
 

Detailed Description

Functions for escaping and evaluating TCL commands.

Definition in file tclcad_eval.c.

Function Documentation

int tclcad_eval ( Tcl_Interp *  interp,
const char *  command,
size_t  num_args,
const char *const *  args 
)

Evaluates a TCL command, escaping the list of arguments.

Definition at line 33 of file tclcad_eval.c.

Referenced by tclcad_eval_noresult(), to_is_viewable(), and to_mouse_orotate().

int tclcad_eval_noresult ( Tcl_Interp *  interp,
const char *  command,
size_t  num_args,
const char *const *  args 
)

Evaluates a TCL command, escaping the list of arguments and preserving the TCL result object.

Definition at line 54 of file tclcad_eval.c.

References tclcad_eval().

Referenced by Go_Init(), to_idle_mode(), to_mouse_brep_selection_translate(), to_mouse_constrain_rot(), to_mouse_constrain_trans(), and to_output_handler().

Here is the call graph for this function: