2 * IR toolkit for tcl/tk
4 * See the file LICENSE for details.
5 * Sebastian Hammer, Adam Dickmeiss
8 * Revision 1.2 1995-08-29 15:30:15 adam
11 * Revision 1.1 1995/08/04 11:32:40 adam
12 * More work on output queue. Memory related routines moved
25 * ir_tcl_malloc: Allocate n byte from the heap
27 void *ir_tcl_malloc (size_t n)
32 logf (LOG_FATAL, "Out of memory. %ld bytes requested", (long) n);
39 * ir_tcl_strdup: Duplicate string
41 int ir_tcl_strdup (Tcl_Interp *interp, char** p, const char *s)
56 logf (LOG_FATAL, "Out of memory in strdup. %ld bytes", len);
59 interp->result = "strdup fail";
67 * ir_strdel: Delete string
69 int ir_tcl_strdel (Tcl_Interp *interp, char **p)