Allocate memory with Tcl_Alloc
|
|
If you allocate memory from within a C or C++ program and pass that memory on the the Tcl DLLs, you must allocate that memory
with Tcl_Alloc().
If you allocate memory via some other means, pass that memory to Tcl and later get a crash, you were warned.
|
|
|