OpenOCD
tcl-common.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef OPENOCD_HELPER_TCL_COMMON_H
4 #define OPENOCD_HELPER_TCL_COMMON_H
5 
6 #include <jim.h>
7 
15 char *tcl_escape_alloc(Jim_Interp *interp, const char *s);
16 
17 #endif /* OPENOCD_HELPER_TCL_COMMON_H */
char * tcl_escape_alloc(Jim_Interp *interp, const char *s)
Convert a C string to a string that can be used for Tcl list.
Definition: tcl-libjim.c:25