Explorar el Código

Remove unneeded code

DarthSim hace 6 años
padre
commit
fee210fb1b
Se han modificado 2 ficheros con 0 adiciones y 11 borrados
  1. 0 9
      vips.c
  2. 0 2
      vips.h

+ 0 - 9
vips.c

@@ -25,9 +25,6 @@
 #define VIPS_SUPPORT_WEBP_ANIMATION \
   (VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 8))
 
-#define VIPS_SUPPORT_N_PAGES \
-  (VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 8))
-
 #define VIPS_SUPPORT_BUILTIN_ICC \
   (VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 8))
 
@@ -122,7 +119,6 @@ vips_webpload_go(void *buf, size_t len, double scale, int pages, VipsImage **out
 #endif
 #if VIPS_SUPPORT_WEBP_ANIMATION
     "n", pages,
-    "page", 0,
 #endif
     NULL
   );
@@ -148,11 +144,6 @@ vips_svgload_go(void *buf, size_t len, double scale, VipsImage **out) {
   #endif
 }
 
-int
-vips_support_n_pages() {
-  return VIPS_SUPPORT_N_PAGES;
-}
-
 int
 vips_get_exif_orientation(VipsImage *image) {
   const char *orientation;

+ 0 - 2
vips.h

@@ -29,8 +29,6 @@ int vips_webpload_go(void *buf, size_t len, double scale, int pages, VipsImage *
 int vips_gifload_go(void *buf, size_t len, int pages, VipsImage **out);
 int vips_svgload_go(void *buf, size_t len, double scale, VipsImage **out);
 
-int vips_support_n_pages();
-
 int vips_get_exif_orientation(VipsImage *image);
 void vips_strip_meta(VipsImage *image);