Ignore:
Timestamp:
02/07/12 17:32:09 (2 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Message:

Added Variable.retrieve and Variable.new_meta_id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_kernel.cpp

    r9532 r9931  
    280280} 
    281281 
     282 
     283PyObject *Variable_retrieve(PyObject *, PyObject *args) PYARGS(METH_VARARGS | METH_STATIC, "(name, type[, fixedOrderValues[, otherValues, failOn]]) -> (Variable|None, status)") 
     284{ 
     285    return Variable_getExisting(NULL, args); 
     286} 
     287 
     288 
     289PyObject *newmetaid(PyObject *, PyObject *args); 
     290 
     291PyObject *Variable_new_meta_id(PyObject *, PyObject *args)  PYARGS(METH_VARARGS,"([Variable]) -> int") 
     292{ 
     293    return newmetaid(NULL, args); 
     294} 
    282295 
    283296PyObject *Variable_make(PyObject *, PyObject *args) PYARGS(METH_VARARGS | METH_STATIC, "(name, type[, fixedOrderValues[, otherValues, createNewOn]]) -> (Variable|None, status)") 
Note: See TracChangeset for help on using the changeset viewer.