diff --git a/bindings/raw.py b/bindings/raw.py index e4816c8c1..9a7184ac1 100644 --- a/bindings/raw.py +++ b/bindings/raw.py @@ -743,11 +743,6 @@ class struct__FS_QUADPOINTSF(Structure): FPDF_ANNOTATION_SUBTYPE = c_int FPDF_ANNOT_APPEARANCEMODE = c_int FPDF_OBJECT_TYPE = c_int - -if _libs["pdfium"].has("FPDF_InitLibrary", "cdecl"): - FPDF_InitLibrary = _libs["pdfium"].get("FPDF_InitLibrary", "cdecl") - FPDF_InitLibrary.argtypes = [] - FPDF_InitLibrary.restype = None enum_anon_3 = c_int FPDF_RENDERERTYPE_AGG = 0 FPDF_RENDERERTYPE_SKIA = 1 @@ -778,6 +773,11 @@ class struct_FPDF_LIBRARY_CONFIG_(Structure): FPDF_InitLibraryWithConfig.argtypes = [POINTER(FPDF_LIBRARY_CONFIG)] FPDF_InitLibraryWithConfig.restype = None +if _libs["pdfium"].has("FPDF_InitLibrary", "cdecl"): + FPDF_InitLibrary = _libs["pdfium"].get("FPDF_InitLibrary", "cdecl") + FPDF_InitLibrary.argtypes = [] + FPDF_InitLibrary.restype = None + if _libs["pdfium"].has("FPDF_DestroyLibrary", "cdecl"): FPDF_DestroyLibrary = _libs["pdfium"].get("FPDF_DestroyLibrary", "cdecl") FPDF_DestroyLibrary.argtypes = [] diff --git a/docs/devel/changelog.md b/docs/devel/changelog.md index 95c63ed8c..29fbe35e1 100644 --- a/docs/devel/changelog.md +++ b/docs/devel/changelog.md @@ -7,6 +7,11 @@ # Changelog +## 4.14.0 (2023-06-06) + +- Updated PDFium from `5799` to `5813`. + + ## 4.13.0 (2023-05-30) - Updated PDFium from `5786` to `5799`. diff --git a/src/pypdfium2/version.py b/src/pypdfium2/version.py index 09470b326..9c53eb35e 100644 --- a/src/pypdfium2/version.py +++ b/src/pypdfium2/version.py @@ -4,7 +4,7 @@ __all__ = ["V_PYPDFIUM2", "V_LIBPDFIUM", "V_BUILDNAME", "V_PDFIUM_IS_V8"] V_MAJOR = 4 -V_MINOR = 13 +V_MINOR = 14 V_PATCH = 0 V_BETA = None @@ -14,7 +14,7 @@ V_PYPDFIUM2 += f"b{V_BETA}" #: PDFium library version string (git tag or commit hash) -V_LIBPDFIUM = "5799" +V_LIBPDFIUM = "5813" #: String describing the included PDFium binary's origin (pdfium-binaries, source) V_BUILDNAME = "pdfium-binaries"