Method

VipsObjectget_argument

Declaration [src]

int
vips_object_get_argument (
  VipsObject* object,
  const char* name,
  GParamSpec** pspec,
  VipsArgumentClass** argument_class,
  VipsArgumentInstance** argument_instance
)

Description [src]

Look up the three things you need to work with a vips argument.

This method is not directly available to language bindings.

Parameters

name const char*
 

Arg to fetch.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
pspec GParamSpec
 

The pspec for this arg.

 The data is owned by the caller of the function.
argument_class VipsArgumentClass
 

The argument_class for this arg.

 The data is owned by the caller of the function.
argument_instance VipsArgumentInstance
 

The argument_instance for this arg.

 The data is owned by the caller of the function.

Return value

Returns: int
 

0 on success, or -1 on error.