Skip to content

Commit

Permalink
fix last commit
Browse files Browse the repository at this point in the history
Swig is weird.
  • Loading branch information
mlschroe committed Feb 13, 2024
1 parent 34b7a4e commit e0d0438
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/solv.i
Original file line number Diff line number Diff line change
Expand Up @@ -1729,11 +1729,11 @@ returnself(matchsolvable)
SWIGINTERN int loadcallback(Pool *pool, Repodata *data, void *d) {
XRepodata *xd = new_XRepodata(data->repo, data->repodataid);
PyObject *args = Py_BuildValue("(O)", SWIG_NewPointerObj(SWIG_as_voidptr(xd), SWIGTYPE_p_XRepodata, SWIG_POINTER_OWN | 0));
%#if PY_VERSION_HEX >= 0x03000000
#if PY_VERSION_HEX >= 0x03000000
PyObject *result = PyObject_Call((PyObject *)d, args, NULL);
%#else
#else
PyObject *result = PyEval_CallObject((PyObject *)d, args);
%#endif
#endif

int ecode = 0;
int vresult = 0;
Expand Down

0 comments on commit e0d0438

Please sign in to comment.