Changeset 10668:6d3d21a83558 in orange


Ignore:
Timestamp:
03/27/12 18:30:52 (2 years ago)
Author:
Janez Demšar <janez.demsar@…>
Branch:
default
Message:

Added 'objects' as a recognized attribute of IntList (fixes #1156)

Location:
source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_vectors.cpp

    r10531 r10668  
    314314 
    315315 
     316// I hate to do this for *all* IntLists, but see no other way around 
     317RECOGNIZED_ATTRIBUTES(IntList, "objects"); 
     318 
    316319#include "lib_vectors.px" 
  • source/pyxtract/defvectors.py

    r8042 r10668  
    161161  classes[listname] = ClassDefinition(listname, "TOrange") 
    162162 
    163 coutf.write('#include "lib_vectors.px"\n') 
     163coutf.write("""// I hate to do this for *all* IntLists, but see no other way around 
     164RECOGNIZED_ATTRIBUTES(IntList, "objects"); 
     165 
     166#include "lib_vectors.px" 
     167""") 
    164168 
    165169outf.close() 
Note: See TracChangeset for help on using the changeset viewer.