| 851 | }; |
| 852 | |
| 853 | static PyObject * |
| 854 | record_new_iter(ApgRecordObject *r, const record_module_state *state) |
| 855 | { |
| 856 | ApgRecordIterObject *it; |
| 857 | it = PyObject_GC_New(ApgRecordIterObject, state->ApgRecordIter_Type); |
| 858 | if (it == NULL) |
| 859 | return NULL; |
| 860 | it->it_index = 0; |
| 861 | Py_INCREF(r); |
| 862 | it->it_seq = r; |
| 863 | PyObject_GC_Track(it); |
| 864 | return (PyObject *)it; |
| 865 | } |
| 866 | |
| 867 | /* Record Items Iterator */ |
| 868 |
no outgoing calls
no test coverage detected