~mogurijin/pyeigen/py3k

« back to all changes in this revision

Viewing changes to source/iterator/vector2f.cpp

  • Committer: Jussi Lepistö
  • Date: 2010-04-02 17:29:24 UTC
  • Revision ID: jussi.lepisto@iki.fi-20100402172924-kakeesz6ektcyjoy
- Variable-size matrices and vectors
- Code reorganization
- New properties and methods for various types: rows, cols, get/set_block, unit
- Prevent direct creation of iterator types
- Various other fixes & cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        0, // tp_weaklistoffset
38
38
        (getiterfunc)MatrixIterator_iter<VECTOR2F_TEMPLATE>, // tp_iter
39
39
        (iternextfunc)MatrixIterator_iternext<VECTOR2F_TEMPLATE>, // tp_iternext
40
 
        0, // tp_methods
41
 
        0, // tp_members
42
 
        0, // tp_getset
43
 
        0, // tp_base
44
 
        0, // tp_dict
45
 
        0, // tp_descr_get
46
 
        0, // tp_descr_set
47
 
        0, // tp_dictoffset
48
 
        (initproc)MatrixIterator_init<VECTOR2F_TEMPLATE>, // tp_init
49
 
        0, // tp_alloc
50
 
        MatrixIterator_new<VECTOR2F_TEMPLATE>, // tp_new
51
40
};