Posted to tcl by jenglish at Sun Sep 17 22:35:47 GMT 2006view raw

  1. TCL_LINK_STRING
  2. The C variable is of type char *. If its value is not NULL then it must be a pointer to a string allocated with Tcl_Alloc or ckalloc. Whenever the Tcl variable is modified the current C string will be freed and new memory will be allocated to hold a copy of the variable's new value. If the C variable contains a NULL pointer then the Tcl variable will read as ``NULL''.