mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 12:28:26 +01:00
Merge "rename libwebp.i -> libwebp.swig"
This commit is contained in:
commit
fab618b5fb
4
README
4
README
@ -80,7 +80,7 @@ more options.
|
|||||||
SWIG bindings:
|
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.
|
(http://www.swig.org) is required.
|
||||||
|
|
||||||
Currently the following functions are mapped:
|
Currently the following functions are mapped:
|
||||||
@ -115,7 +115,7 @@ DLL that can be loaded via System.loadLibrary("webp_jni").
|
|||||||
Python bindings:
|
Python bindings:
|
||||||
|
|
||||||
To build the swig-generated Python extension code at least Python 2.6 is
|
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.
|
generated code, but is untested.
|
||||||
|
|
||||||
Encoding tool:
|
Encoding tool:
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
$ swig -java \
|
$ swig -java \
|
||||||
-package com.google.webp \
|
-package com.google.webp \
|
||||||
-outdir java/com/google/webp \
|
-outdir java/com/google/webp \
|
||||||
-o libwebp_java_wrap.c libwebp.i
|
-o libwebp_java_wrap.c libwebp.swig
|
||||||
|
|
||||||
Python bindings:
|
Python bindings:
|
||||||
$ swig -python \
|
$ swig -python \
|
||||||
-outdir . \
|
-outdir . \
|
||||||
-o libwebp_python_wrap.c libwebp.i
|
-o libwebp_python_wrap.c libwebp.swig
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef SWIGPYTHON
|
#ifdef SWIGPYTHON
|
Loading…
Reference in New Issue
Block a user