polish docs
This commit is contained in:
parent
163b0165d7
commit
5121e203f8
@ -80,7 +80,7 @@ main( int argc, char **argv )
|
|||||||
|
|
||||||
/* Call the operation. This will look up the operation+args in the vips
|
/* Call the operation. This will look up the operation+args in the vips
|
||||||
* operation cache and either return a previous operation, or build
|
* operation cache and either return a previous operation, or build
|
||||||
* this one. In either case, we have a new ref we mst release.
|
* this one. In either case, we have a new ref we must release.
|
||||||
*/
|
*/
|
||||||
if( !(new_op = vips_cache_operation_build( op )) ) {
|
if( !(new_op = vips_cache_operation_build( op )) ) {
|
||||||
g_object_unref( op );
|
g_object_unref( op );
|
||||||
@ -114,7 +114,7 @@ main( int argc, char **argv )
|
|||||||
```
|
```
|
||||||
|
|
||||||
libvips has a couple of extra things to let you examine the arguments and
|
libvips has a couple of extra things to let you examine the arguments and
|
||||||
types of an operator at runtime. Use vips_lib.vips_argument_map() to loop
|
types of an operator at runtime. Use vips_argument_map() to loop
|
||||||
over all the arguments of an operator, and vips_object_get_argument()
|
over all the arguments of an operator, and vips_object_get_argument()
|
||||||
to fetch the type and flags of a specific argument.
|
to fetch the type and flags of a specific argument.
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ operator overloads, and various other useful features.
|
|||||||
|
|
||||||
# Dynamic language with FFI
|
# Dynamic language with FFI
|
||||||
|
|
||||||
Languages like Ruby, Python, JavaScript and Lua can't call C directly, but
|
Languages like Ruby, Python, JavaScript and LuaJIT can't call C directly, but
|
||||||
they do support FFI. The bindings for these languages work rather like C++,
|
they do support FFI. The bindings for these languages work rather like C++,
|
||||||
but use FFI to call into libvips and run operations.
|
but use FFI to call into libvips and run operations.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user