tclCkalloc.c File Reference

#include "tclInt.h"

Go to the source code of this file.

Defines

#define FALSE   0
#define TRUE   1

Functions

char * Tcl_Alloc (unsigned int size)
char * Tcl_DbCkalloc (unsigned int size, CONST char *file, int line)
char * Tcl_AttemptAlloc (unsigned int size)
char * Tcl_AttemptDbCkalloc (unsigned int size, CONST char *file, int line)
char * Tcl_Realloc (char *ptr, unsigned int size)
char * Tcl_DbCkrealloc (char *ptr, unsigned int size, CONST char *file, int line)
char * Tcl_AttemptRealloc (char *ptr, unsigned int size)
char * Tcl_AttemptDbCkrealloc (char *ptr, unsigned int size, CONST char *file, int line)
void Tcl_Free (char *ptr)
int Tcl_DbCkfree (char *ptr, CONST char *file, int line)
void Tcl_InitMemory (Tcl_Interp *interp)
int Tcl_DumpActiveMemory (CONST char *fileName)
void Tcl_ValidateAllMemory (CONST char *file, int line)
void TclDumpMemoryInfo (FILE *outFile)
void TclFinalizeMemorySubsystem (void)


Define Documentation

#define FALSE   0

Definition at line 22 of file tclCkalloc.c.

#define TRUE   1

Definition at line 23 of file tclCkalloc.c.

Referenced by TclpSetVariables().


Function Documentation

char* Tcl_Alloc ( unsigned int  size  ) 

Definition at line 1014 of file tclCkalloc.c.

References Tcl_Panic(), and TclpAlloc().

Referenced by TclStackAlloc().

char* Tcl_AttemptAlloc ( unsigned int  size  ) 

Definition at line 1066 of file tclCkalloc.c.

References TclpAlloc().

char* Tcl_AttemptDbCkalloc ( unsigned int  size,
CONST char *  file,
int  line 
)

Definition at line 1076 of file tclCkalloc.c.

References TclpAlloc().

char* Tcl_AttemptDbCkrealloc ( char *  ptr,
unsigned int  size,
CONST char *  file,
int  line 
)

Definition at line 1154 of file tclCkalloc.c.

References TclpRealloc().

char* Tcl_AttemptRealloc ( char *  ptr,
unsigned int  size 
)

Definition at line 1143 of file tclCkalloc.c.

References TclpRealloc().

char* Tcl_DbCkalloc ( unsigned int  size,
CONST char *  file,
int  line 
)

Definition at line 1038 of file tclCkalloc.c.

References Tcl_Panic(), and TclpAlloc().

int Tcl_DbCkfree ( char *  ptr,
CONST char *  file,
int  line 
)

Definition at line 1186 of file tclCkalloc.c.

References TclpFree().

char* Tcl_DbCkrealloc ( char *  ptr,
unsigned int  size,
CONST char *  file,
int  line 
)

Definition at line 1114 of file tclCkalloc.c.

References Tcl_Panic(), and TclpRealloc().

int Tcl_DumpActiveMemory ( CONST char *  fileName  ) 

Definition at line 1213 of file tclCkalloc.c.

References TCL_OK.

void Tcl_Free ( char *  ptr  ) 

void Tcl_InitMemory ( Tcl_Interp interp  ) 

Definition at line 1207 of file tclCkalloc.c.

char* Tcl_Realloc ( char *  ptr,
unsigned int  size 
)

Definition at line 1099 of file tclCkalloc.c.

References Tcl_Panic(), and TclpRealloc().

Referenced by TclStackRealloc().

void Tcl_ValidateAllMemory ( CONST char *  file,
int  line 
)

Definition at line 1220 of file tclCkalloc.c.

void TclDumpMemoryInfo ( FILE *  outFile  ) 

Definition at line 1227 of file tclCkalloc.c.

void TclFinalizeMemorySubsystem ( void   ) 



Generated on Wed Mar 12 12:18:28 2008 by  doxygen 1.5.1