A perliter() call was missing.
SET (SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/solv.i")
IF (ENABLE_PYTHON)
+ IF (ENABLE_PYTHON3)
+ # build for both python and python3
+ SET (PythonLibs_FIND_VERSION 2)
+ ENDIF (ENABLE_PYTHON3)
ADD_SUBDIRECTORY (python)
ENDIF (ENABLE_PYTHON)
+IF (ENABLE_PYTHON3)
+ ADD_SUBDIRECTORY (python3)
+ENDIF (ENABLE_PYTHON3)
IF (ENABLE_PERL)
ADD_SUBDIRECTORY (perl)
ENDIF (ENABLE_PERL)
}
}
#endif
-
#ifdef SWIGPERL
perliter(solv::Dataiterator)
#endif
-
%newobject __next__;
Datamatch *__next__() {
Dataiterator *ndi;
}
}
#endif
-
#ifdef SWIGPERL
perliter(solv::Pool_solvable_iterator)
#endif
}
}
#endif
+#ifdef SWIGPERL
+ perliter(solv::Pool_repo_iterator)
+#endif
%newobject __next__;
Repo *__next__() {
Pool *pool = $self->pool;
}
}
#endif
+#ifdef SWIGPERL
+ perliter(solv::Repo_solvable_iterator)
+#endif
%newobject __next__;
XSolvable *__next__() {
Repo *repo = $self->repo;