Ignore:
Timestamp:
03/13/14 01:00:33 (11 years ago)
Author:
sz
Message:

getObjectTarget is now the recommended way to retrieve object from ExtValue?, can post the standard warning message about missing object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/classes/collectionobj.h

    r121 r171  
    4444ExtObject makeObject() {return ExtObject(&par,this);}
    4545
    46 static VectorObject* fromObject(const ExtObject& o);
     46static VectorObject* fromObject(const ExtObject& o, bool warn=true);
    4747};
    4848
     
    7474static void p_new(void*,ExtValue*args,ExtValue*ret)
    7575        {ret->setObject(ExtObject(&par,new DictionaryObject));}
    76 static DictionaryObject* fromObject(const ExtObject& v);
     76static DictionaryObject* fromObject(const ExtObject& v, bool warn=true);
    7777ExtObject makeObject() {return ExtObject(&par,this);}
    7878};
Note: See TracChangeset for help on using the changeset viewer.