*---------------------------------------------------------------------- * * TclInterp_cl::SetErrorCode -- * * Class interface to Tcl_SetErrorCode (see Tcl documentation for * details). Not inlined since varargs and inline don't work on some C++ * compilers. *---------------------------------------------------------------------- */
| 97 | * details). Not inlined since varargs and inline don't work on some C++ |
| 98 | * compilers. |
| 99 | *---------------------------------------------------------------------- |
| 100 | */ |
| 101 | void |
| 102 | TclInterp_cl::SetErrorCode (char *p, |
| 103 | ...) |
| 104 | { |
| 105 | va_list argPtr; |
| 106 | char *strPtr; |
| 107 | |
| 108 | va_start (argPtr, p); |
| 109 | strPtr = CatVarArgs (argPtr); |
| 110 | Tcl_SetErrorCode (interp, p, strPtr, (char *) NULL); |
| 111 | ckfree (strPtr) |
| 112 | va_end (argPtr); |
| 113 | } |
| 114 |
nothing calls this directly
no test coverage detected