void iPhoneDoubleCopy::eval() { DoubleData *src = (DoubleData *)systemEngine->dStack.pop(); DoubleData *tgt = new DoubleData(); tgt->clear(); tgt->set(((DoubleData *)src)->get()); systemEngine->dStack.push(src); systemEngine->dStack.push(tgt); };
void iPhoneDoubleFactory::eval() { DoubleData *newData = new DoubleData(); newData->clear(); systemEngine->dStack.push(newData); }