Go to the source code of this file.
      
        
          | #define TCL_CONDITION_MSG_MAX   1024 | 
      
 
 
      
        
          | void tcl_condition_failed | ( | Tcl_Interp * | interp, | 
        
          |  |  | Tcl_Obj * | command, | 
        
          |  |  | const char * | format, | 
        
          |  |  |  | ... | 
        
          |  | ) |  |  | 
      
 
Definition at line 12 of file cctwtclutils.cpp.
References TCL_CONDITION_MSG_MAX.
   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