| 109 | } |
| 110 | |
| 111 | extern "C" int |
| 112 | OPS_GetDoubleInput(int *numData, double *data) |
| 113 | { |
| 114 | int size = *numData; |
| 115 | for (int i = 0; i < size; ++i) { |
| 116 | if ((currentArg >= maxArg) || |
| 117 | (Tcl_GetDouble(theInterp, currentArgv[currentArg], &data[i]) != TCL_OK)) { |
| 118 | return -1; |
| 119 | } else |
| 120 | currentArg++; |
| 121 | } |
| 122 | return 0; |
| 123 | } |
| 124 | |
| 125 | extern "C" const char * |
| 126 | OPS_GetString(void) |
no outgoing calls
no test coverage detected