Lines Matching refs:lastValue
38 } lastValue; /* Last known value of C variable; used to
283 changed = *(int *)(linkPtr->addr) != linkPtr->lastValue.i;
286 changed = *(double *)(linkPtr->addr) != linkPtr->lastValue.d;
327 if (Tcl_GetInt(interp, value, &linkPtr->lastValue.i) != TCL_OK) {
333 *(int *)(linkPtr->addr) = linkPtr->lastValue.i;
336 if (Tcl_GetDouble(interp, value, &linkPtr->lastValue.d)
343 *(double *)(linkPtr->addr) = linkPtr->lastValue.d;
346 if (Tcl_GetBoolean(interp, value, &linkPtr->lastValue.i)
353 *(int *)(linkPtr->addr) = linkPtr->lastValue.i;
401 linkPtr->lastValue.i = *(int *)(linkPtr->addr);
402 sprintf(buffer, "%d", linkPtr->lastValue.i);
405 linkPtr->lastValue.d = *(double *)(linkPtr->addr);
406 Tcl_PrintDouble(linkPtr->interp, linkPtr->lastValue.d, buffer);
409 linkPtr->lastValue.i = *(int *)(linkPtr->addr);
410 if (linkPtr->lastValue.i != 0) {