| 582 | |
| 583 | #ifdef HXCPP_VISIT_ALLOCS |
| 584 | void Variant::visit(hx::VisitContext *__inCtx) |
| 585 | { |
| 586 | if (type==typeString) |
| 587 | { |
| 588 | HX_VISIT_STRING(valStringPtr); |
| 589 | } |
| 590 | else if (type==typeObject) |
| 591 | { |
| 592 | HX_VISIT_OBJECT(valObject); |
| 593 | } |
| 594 | } |
| 595 | #endif // HXCPP_VISIT_ALLOCS |
| 596 | |
| 597 |