| 59 | |
| 60 | |
| 61 | static void setStaticHandler(Dynamic &inStore, Dynamic inValue) |
| 62 | { |
| 63 | if ( inStore==null() != inValue==null()) |
| 64 | { |
| 65 | if ( inValue!=null() ) |
| 66 | GCAddRoot(&inStore.mPtr); |
| 67 | else |
| 68 | GCRemoveRoot(&inStore.mPtr); |
| 69 | } |
| 70 | inStore = inValue; |
| 71 | } |
| 72 | |
| 73 | |
| 74 |
no test coverage detected