Changeset 371 for cpp/frams/vm
- Timestamp:
- 04/21/15 15:19:47 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/collectionobj.cpp
r333 r371 149 149 } 150 150 151 static THREAD_LOCAL_DEF(SList, tostring_trace);151 static THREAD_LOCAL_DEF(SList,VectorObject_tostring_trace); 152 152 153 153 void VectorObject::get_toString(ExtValue* ret) … … 155 155 SString out="["; 156 156 //static SListTempl<VectorObject*> trace; 157 if (tlsGetRef( tostring_trace).find(this)>=0)157 if (tlsGetRef(VectorObject_tostring_trace).find(this)>=0) 158 158 out+="..."; 159 159 else 160 160 { 161 tlsGetRef( tostring_trace)+=this;161 tlsGetRef(VectorObject_tostring_trace)+=this; 162 162 for(int i=0;i<data.size();i++) 163 163 { … … 169 169 out+="null"; 170 170 } 171 tlsGetRef( tostring_trace)-=this;171 tlsGetRef(VectorObject_tostring_trace)-=this; 172 172 } 173 173 out+="]"; … … 402 402 SString out="{"; 403 403 //static SListTempl<DictionaryObject*> trace; 404 if (tlsGetRef( tostring_trace).find(this)>=0)404 if (tlsGetRef(VectorObject_tostring_trace).find(this)>=0) 405 405 out+="..."; 406 406 else 407 407 { 408 tlsGetRef( tostring_trace)+=this;408 tlsGetRef(VectorObject_tostring_trace)+=this; 409 409 for(HashEntryIterator it(hash);it.isValid();) 410 410 { … … 418 418 if (it.isValid()) out+=","; 419 419 } 420 tlsGetRef( tostring_trace)-=this;420 tlsGetRef(VectorObject_tostring_trace)-=this; 421 421 } 422 422 out+="}";
Note: See TracChangeset
for help on using the changeset viewer.