29 Jim_Obj *o1 = Jim_NewStringObj(interp, s, -1);
30 Jim_Obj *o2 = Jim_NewListObj(interp, &o1, 1);
33 char *out = strdup(Jim_String(o2));
35 Jim_DecrRefCount(interp, o2);
char * tcl_escape_alloc(Jim_Interp *interp, const char *s)
Convert a C string to a string that can be used for Tcl list.