Types
PyNimIteratorIterObject = ref object of PyObject itor*: ItorPy
- Source Edit
PyNimSeqIterObject = ref object of PyObject items*: seq[PyObject] idx*: int
- Source Edit
PySeqIterObject = ref object of PyObject sequ*: PyObject idx*: int
- Source Edit
Lets
pyNimIteratorIterObjectType {.inject.} = newPyType("nimiteratoriter", pyObjectType)
- Source Edit
pyNimSeqIterObjectType {.inject.} = newPyType("nimseqiter", pyObjectType)
- Source Edit
pySeqIterObjectType {.inject.} = newPyType("seqiter", pyObjectType)
- Source Edit
Procs
proc iternextPyNimIteratorIterObjectMagic(selfNoCast: PyObject): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc iternextPyNimSeqIterObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc iternextPySeqIterObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- Source Edit
proc iterPyNimIteratorIterObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc iterPyNimSeqIterObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc iterPySeqIterObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newPyNimIteratorIter(itor: ItorPy): PyNimIteratorIterObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyNimIteratorIterSimple(): PyNimIteratorIterObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyNimSeqIterSimple(): PyNimSeqIterObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySeqIter(items: seq[PyObject]): PyNimSeqIterObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySeqIter(sequ: PyObject): PyObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySeqIter(sequ: PyObject; exc: var PyBaseErrorObject): PySeqIterObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySeqIterSimple(): PySeqIterObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc ofExactPyNimIteratorIterObject(obj`gensym25: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyNimSeqIterObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPySeqIterObject(obj`gensym10: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyNimIteratorIterObject(obj`gensym25: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyNimSeqIterObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPySeqIterObject(obj`gensym10: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template genPyNimIteratorIter(iterable): PyNimIteratorIterObject
- Source Edit