From 350a4597ee06d846446fe9b847dde1952112e2ce Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Thu, 28 Jul 2022 13:37:17 +0200 Subject: [PATCH] Remove deprecated symbols (#341) See: https://github.com/libvips/libvips/issues/2947 --- pyvips/base.py | 11 ----------- pyvips/vdecls.py | 3 --- 2 files changed, 14 deletions(-) diff --git a/pyvips/base.py b/pyvips/base.py index e54e292..58c9d16 100644 --- a/pyvips/base.py +++ b/pyvips/base.py @@ -70,15 +70,6 @@ def at_least_libvips(x, y): return major > x or (major == x and minor >= y) - -def path_filename7(filename): - return _to_string(vips_lib.vips_path_filename7(_to_bytes(filename))) - - -def path_mode7(filename): - return _to_string(vips_lib.vips_path_mode7(_to_bytes(filename))) - - def type_find(basename, nickname): """Get the GType for a name. @@ -139,8 +130,6 @@ def values_for_flag(gtype): 'leak_set', 'version', 'at_least_libvips', - 'path_filename7', - 'path_mode7', 'type_find', 'nickname_find', 'get_suffixes', diff --git a/pyvips/vdecls.py b/pyvips/vdecls.py index 729bf9f..987d892 100644 --- a/pyvips/vdecls.py +++ b/pyvips/vdecls.py @@ -67,9 +67,6 @@ def cdefs(features): void vips_leak_set (int leak); - char* vips_path_filename7 (const char* path); - char* vips_path_mode7 (const char* path); - GType vips_type_find (const char* basename, const char* nickname); const char* vips_nickname_find (GType type);