Changeset 490 for cpp/frams/vm/classes
- Timestamp:
- 03/30/16 17:08:08 (9 years ago)
- Location:
- cpp/frams/vm/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/collectionobj.cpp
r478 r490 545 545 ret->setEmpty(); 546 546 } 547 548 // not actually needed for deserialization (vector and dict are special cases) but findDeserializableClass can be also used in other contexts 549 REGISTER_DESERIALIZABLE(VectorObject) 550 REGISTER_DESERIALIZABLE(DictionaryObject) -
cpp/frams/vm/classes/collectionobj.h
r478 r490 25 25 VectorObject():readonly(0),owndata(1) {} 26 26 ~VectorObject() {clear();} 27 static Param& getStaticParam() {return par;} 27 28 #define STATRICKCLASS VectorObject 28 29 PARAMPROCDEF(p_clear) {if (readonly) return; clear();} … … 62 63 DictionaryObject():it(hash),it_index(-1) {} 63 64 ~DictionaryObject() {clear();} 65 static Param& getStaticParam() {return par;} 64 66 #define STATRICKCLASS DictionaryObject 65 67 PARAMPROCDEF(p_clear) {clear();}
Note: See TracChangeset
for help on using the changeset viewer.