Skip to content
Merged

Devel #199

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/gphoto2/common/preamble.i
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ PyObject *PyExc_GPhoto2Error = NULL;
SWIG_Py_DECREF(module);
}
if (PyExc_GPhoto2Error == NULL)
#if PY_VERSION_HEX >= 0x03000000
#if SWIG_VERSION >= 0x040400
return -1;
#elif PY_VERSION_HEX >= 0x03000000
return NULL;
#else
return;
Expand Down
4 changes: 2 additions & 2 deletions src/swig-gp2_5_33/abilities_list.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.3.1
# Version 4.4.0
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.
Expand All @@ -10,7 +10,7 @@
import gphoto2.port_info_list

# Pull in all the attributes from the low-level C/C++ module
if __package__ or "." in __name__:
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
from ._abilities_list import *
else:
from _abilities_list import *
Loading
Loading