diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 102 |
1 files changed, 66 insertions, 36 deletions
@@ -1,199 +1,229 @@ -Extension [ <persistent> extension #124 vips version 1.0.12 ] { +Extension [ <persistent> extension #120 vips version 1.0.13 ] { - Functions { Function [ <internal:vips> function vips_image_new_from_file ] { - Parameters [2] { - Parameter #0 [ <required> $filename ] - Parameter #1 [ <required> $options ] + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <optional> ?array $options = [] ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_new_from_buffer ] { - Parameters [3] { - Parameter #0 [ <required> $buffer ] - Parameter #1 [ <required> $option_string ] - Parameter #2 [ <required> $options ] + Parameter #0 [ <required> string $buffer ] + Parameter #1 [ <optional> ?string $option_string = "" ] + Parameter #2 [ <optional> ?array $options = [] ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_new_from_array ] { - Parameters [3] { - Parameter #0 [ <required> $array ] - Parameter #1 [ <required> $scale ] - Parameter #2 [ <required> $offset ] + Parameter #0 [ <required> array $array ] + Parameter #1 [ <optional> ?float $scale = 1.0 ] + Parameter #2 [ <optional> ?float $offset = 0.0 ] } } Function [ <internal:vips> function vips_image_write_to_file ] { - Parameters [3] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $filename ] - Parameter #2 [ <required> $options ] + Parameter #1 [ <required> string $filename ] + Parameter #2 [ <optional> ?array $options = [] ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_write_to_buffer ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $options ] + Parameter #1 [ <required> string $suffix ] + Parameter #2 [ <optional> ?array $options = [] ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_copy_memory ] { - Parameters [1] { Parameter #0 [ <required> $image ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_new_from_memory ] { - Parameters [5] { - Parameter #0 [ <required> $array ] - Parameter #1 [ <required> $width ] - Parameter #2 [ <required> $height ] - Parameter #3 [ <required> $bands ] - Parameter #4 [ <required> $format ] + Parameter #0 [ <required> string $memory ] + Parameter #1 [ <required> int $width ] + Parameter #2 [ <required> int $height ] + Parameter #3 [ <required> int $bands ] + Parameter #4 [ <required> string $format ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_write_to_memory ] { - Parameters [1] { Parameter #0 [ <required> $image ] } + - Return [ string|int ] } Function [ <internal:vips> function vips_image_write_to_array ] { - Parameters [1] { Parameter #0 [ <required> $image ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_foreign_find_load ] { - Parameters [1] { - Parameter #0 [ <required> $filename ] + Parameter #0 [ <required> string $filename ] } + - Return [ string|int ] } Function [ <internal:vips> function vips_foreign_find_load_buffer ] { - Parameters [1] { - Parameter #0 [ <required> $buffer ] + Parameter #0 [ <required> string $buffer ] } + - Return [ string|int ] } Function [ <internal:vips> function vips_interpolate_new ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } } Function [ <internal:vips> function vips_call ] { - - Parameters [2] { - Parameter #0 [ <required> $operation_name ] + - Parameters [3] { + Parameter #0 [ <required> string $operation_name ] Parameter #1 [ <required> $instance ] + Parameter #2 [ <optional> mixed ...$args ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_get ] { - Parameters [2] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $field ] + Parameter #1 [ <required> string $field ] } + - Return [ array|int ] } Function [ <internal:vips> function vips_image_get_typeof ] { - Parameters [2] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $field ] + Parameter #1 [ <required> string $field ] } + - Return [ int ] } Function [ <internal:vips> function vips_image_set ] { - Parameters [3] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $field ] - Parameter #2 [ <required> $value ] + Parameter #1 [ <required> string $field ] + Parameter #2 [ <required> mixed $value ] } + - Return [ int ] } Function [ <internal:vips> function vips_type_from_name ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ int ] } Function [ <internal:vips> function vips_image_set_type ] { - Parameters [4] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $type ] - Parameter #2 [ <required> $field ] - Parameter #3 [ <required> $value ] + Parameter #1 [ <required> string|int $type ] + Parameter #2 [ <required> string $field ] + Parameter #3 [ <required> mixed $value ] } + - Return [ int ] } Function [ <internal:vips> function vips_image_remove ] { - Parameters [2] { Parameter #0 [ <required> $image ] - Parameter #1 [ <required> $field ] + Parameter #1 [ <required> string $field ] } + - Return [ int ] } Function [ <internal:vips> function vips_error_buffer ] { - Parameters [0] { } + - Return [ string ] } Function [ <internal:vips> function vips_cache_set_max ] { - Parameters [1] { - Parameter #0 [ <required> $value ] + Parameter #0 [ <required> int $value ] } + - Return [ void ] } Function [ <internal:vips> function vips_cache_set_max_mem ] { - Parameters [1] { - Parameter #0 [ <required> $value ] + Parameter #0 [ <required> int $value ] } + - Return [ void ] } Function [ <internal:vips> function vips_cache_set_max_files ] { - Parameters [1] { - Parameter #0 [ <required> $value ] + Parameter #0 [ <required> int $value ] } + - Return [ void ] } Function [ <internal:vips> function vips_concurrency_set ] { - Parameters [1] { - Parameter #0 [ <required> $value ] + Parameter #0 [ <required> int $value ] } + - Return [ void ] } Function [ <internal:vips> function vips_cache_get_max ] { - Parameters [0] { } + - Return [ int ] } Function [ <internal:vips> function vips_cache_get_max_mem ] { - Parameters [0] { } + - Return [ int ] } Function [ <internal:vips> function vips_cache_get_max_files ] { - Parameters [0] { } + - Return [ int ] } Function [ <internal:vips> function vips_cache_get_size ] { - Parameters [0] { } + - Return [ int ] } Function [ <internal:vips> function vips_concurrency_get ] { - Parameters [0] { } + - Return [ int ] } Function [ <internal:vips> function vips_version ] { - Parameters [0] { } + - Return [ string ] } } } |