BRL-CAD
globals.c File Reference
#include "bu/debug.h"
#include "bu/getopt.h"
#include "bu/malloc.h"
#include "bu/parallel.h"
#include "bu/vls.h"
Include dependency graph for globals.c:

Go to the source code of this file.

Variables

long bu_n_malloc = 0
 
long bu_n_realloc = 0
 
EXTERNVARINIT const char bu_vls_message [] = "bu_vls_str"
 
EXTERNVARINIT const char bu_strdup_message [] = "bu_strdup string"
 
int bu_setjmp_valid [MAX_PSW] = {0}
 
jmp_buf bu_jmpbuf [MAX_PSW]
 
int bu_debug = 0
 
int bu_opterr = 1
 
int bu_optind = 1
 
int bu_optopt = 0
 
char * bu_optarg = NULL
 

Detailed Description

Global variables in LIBBU.

New global variables are discouraged and refactoring in ways that eliminates existing global variables without reducing functionality is always encouraged.

Definition in file globals.c.

Variable Documentation

EXTERNVARINIT const char bu_vls_message[] = "bu_vls_str"

used by malloc and vls as the bu_malloc/bu_free debug string.

NOT published in a public header.

Definition at line 57 of file globals.c.

Referenced by bu_prmem(), and bu_vls_extend().

EXTERNVARINIT const char bu_strdup_message[] = "bu_strdup string"

used by malloc and vls as the bu_strdup debug string.

NOT published in a public header.

Definition at line 64 of file globals.c.

Referenced by bu_prmem(), and bu_vls_strdup().