|
OpenOCD
|

Go to the source code of this file.
Functions | |
| char * | tcl_escape_alloc (Jim_Interp *interp, const char *s) |
| Convert a C string to a string that can be used for Tcl list. More... | |
| char* tcl_escape_alloc | ( | Jim_Interp * | interp, |
| const char * | s | ||
| ) |
Convert a C string to a string that can be used for Tcl list.
The returned string has to be deallocated through free().
| interp | the Tcl interpreter |
| s | the C string to convert |
Definition at line 25 of file tcl-libjim.c.
Referenced by COMMAND_HANDLER(), and COMMAND_HELPER().