10 #define TCL_CONDITION_MSG_MAX 1024
13 const char* format, ...)
18 char* commandname = Tcl_GetStringFromObj(command, NULL);
20 p += sprintf(p,
"\n");
21 p += sprintf(p,
"error: ");
22 p += sprintf(p,
"%s: ", commandname);
23 p += vsprintf(p, format, va);
24 p += sprintf(p,
"\n\n");
26 Tcl_AddErrorInfo(interp, buffer);
#define TCL_CONDITION_MSG_MAX
void tcl_condition_failed(Tcl_Interp *interp, Tcl_Obj *command, const char *format,...)