From 1939607e7fa2447c0c456d54dbc26627aed818e3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 29 Oct 2013 19:49:11 +0100 Subject: [PATCH] rename libwebp.i -> libwebp.swig .swig provides better tool compatibility Change-Id: I35587b84dd32e12e8cedad14b36ac518b63896bc --- README | 4 ++-- swig/{libwebp.i => libwebp.swig} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename swig/{libwebp.i => libwebp.swig} (99%) diff --git a/README b/README index 7ad47cce..c1bdc6a2 100644 --- a/README +++ b/README @@ -80,7 +80,7 @@ more options. SWIG bindings: -------------- -To generate language bindings from swig/libwebp.i at least swig-1.3 +To generate language bindings from swig/libwebp.swig at least swig-1.3 (http://www.swig.org) is required. Currently the following functions are mapped: @@ -115,7 +115,7 @@ DLL that can be loaded via System.loadLibrary("webp_jni"). Python bindings: To build the swig-generated Python extension code at least Python 2.6 is -required. Python < 2.6 may build with some minor changes to libwebp.i or the +required. Python < 2.6 may build with some minor changes to libwebp.swig or the generated code, but is untested. Encoding tool: diff --git a/swig/libwebp.i b/swig/libwebp.swig similarity index 99% rename from swig/libwebp.i rename to swig/libwebp.swig index d9c41b09..a67f4a50 100644 --- a/swig/libwebp.i +++ b/swig/libwebp.swig @@ -17,12 +17,12 @@ $ swig -java \ -package com.google.webp \ -outdir java/com/google/webp \ - -o libwebp_java_wrap.c libwebp.i + -o libwebp_java_wrap.c libwebp.swig Python bindings: $ swig -python \ -outdir . \ - -o libwebp_python_wrap.c libwebp.i + -o libwebp_python_wrap.c libwebp.swig */ #ifdef SWIGPYTHON