BRL-CAD
bu_tcl.h File Reference
#include "common.h"
#include "tcl.h"
#include "bu/defines.h"
#include "bu/magic.h"
#include "bu/list.h"
#include "bu/vls.h"
Include dependency graph for bu_tcl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bu_observer
 

Macros

#define BU_OBSERVER_NULL   ((struct bu_observer *)0)
 
#define BU_CK_OBSERVER(_op)   BU_CKMAG(_op, BU_OBSERVER_MAGIC, "bu_observer magic")
 
#define BU_OBSERVER_INIT(_op)
 
#define BU_OBSERVER_INIT_ZERO   { {BU_OBSERVER_MAGIC, BU_LIST_NULL, BU_LIST_NULL}, BU_VLS_INIT_ZERO, BU_VLS_INIT_ZERO }
 
#define BU_OBSERVER_IS_INITIALIZED(_op)   (((struct bu_observer *)(_op) != BU_OBSERVER_NULL) && LIKELY((_op)->magic == BU_OBSERVER_MAGIC))
 

Typedefs

typedef struct bu_observer bu_observer_t
 

Functions

int bu_observer_cmd (void *clientData, int argc, const char *argv[])
 
void bu_observer_notify (Tcl_Interp *interp, struct bu_observer *headp, char *self)
 
void bu_observer_free (struct bu_observer *)
 
int Bu_Init (void *interp)
 

Variables

Tcl_Interp * brlcad_interp