fix various small doc problems
This commit is contained in:
parent
23d9bad581
commit
b814baa78c
@ -296,11 +296,6 @@ typedef struct _VipsArgumentInstance {
|
|||||||
*/
|
*/
|
||||||
typedef GHashTable VipsArgumentTable;
|
typedef GHashTable VipsArgumentTable;
|
||||||
|
|
||||||
VipsArgumentInstance *vips__argument_get_instance(
|
|
||||||
VipsArgumentClass *argument_class,
|
|
||||||
VipsObject *object );
|
|
||||||
VipsArgument *vips__argument_table_lookup( VipsArgumentTable *argument_class,
|
|
||||||
GParamSpec *pspec );
|
|
||||||
void vips__object_set_member( VipsObject *object, GParamSpec *pspec,
|
void vips__object_set_member( VipsObject *object, GParamSpec *pspec,
|
||||||
GObject **member, GObject *argument );
|
GObject **member, GObject *argument );
|
||||||
typedef void *(*VipsArgumentMapFn)( VipsObject *object, GParamSpec *pspec,
|
typedef void *(*VipsArgumentMapFn)( VipsObject *object, GParamSpec *pspec,
|
||||||
@ -622,7 +617,8 @@ GType vips_type_find( const char *basename, const char *nickname );
|
|||||||
const char *vips_nickname_find( GType type );
|
const char *vips_nickname_find( GType type );
|
||||||
|
|
||||||
void *vips_class_map_all( GType type, VipsClassMapFn fn, void *a );
|
void *vips_class_map_all( GType type, VipsClassMapFn fn, void *a );
|
||||||
VipsObjectClass *vips_class_find( const char *basename, const char *nickname );
|
const VipsObjectClass *vips_class_find( const char *basename,
|
||||||
|
const char *nickname );
|
||||||
|
|
||||||
VipsObject **vips_object_local_array( VipsObject *parent, int n );
|
VipsObject **vips_object_local_array( VipsObject *parent, int n );
|
||||||
|
|
||||||
|
@ -2691,9 +2691,9 @@ test_name( VipsObjectClass *class, const char *nickname )
|
|||||||
*
|
*
|
||||||
* See also: vips_type_find()
|
* See also: vips_type_find()
|
||||||
*
|
*
|
||||||
* Returns: the found class.
|
* Returns: (transfer none): the found class.
|
||||||
*/
|
*/
|
||||||
VipsObjectClass *
|
const VipsObjectClass *
|
||||||
vips_class_find( const char *basename, const char *nickname )
|
vips_class_find( const char *basename, const char *nickname )
|
||||||
{
|
{
|
||||||
const char *classname = basename ? basename : "VipsObject";
|
const char *classname = basename ? basename : "VipsObject";
|
||||||
@ -2802,7 +2802,7 @@ vips_type_find( const char *basename, const char *nickname )
|
|||||||
g_type_is_a( hit->type, base ) )
|
g_type_is_a( hit->type, base ) )
|
||||||
type = hit->type;
|
type = hit->type;
|
||||||
else {
|
else {
|
||||||
VipsObjectClass *class;
|
const VipsObjectClass *class;
|
||||||
|
|
||||||
if( !(class = vips_class_find( basename, nickname )) )
|
if( !(class = vips_class_find( basename, nickname )) )
|
||||||
return( 0 );
|
return( 0 );
|
||||||
|
@ -203,12 +203,12 @@ vips_rect_unionrect( const VipsRect *r1, const VipsRect *r2, VipsRect *out )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* vips_rect_dup:
|
* vips_rect_dup: (skip)
|
||||||
* @r: rectangle to duplicate
|
* @r: rectangle to duplicate
|
||||||
*
|
*
|
||||||
* Duplicate a rect to the heap. You need to free the result with vips_free().
|
* Duplicate a rect to the heap. You need to free the result with vips_free().
|
||||||
*
|
*
|
||||||
* Returns: a pointer to copy of @r allocated on the heap.
|
* Returns: (transfer full): a pointer to copy of @r allocated on the heap.
|
||||||
*/
|
*/
|
||||||
VipsRect *
|
VipsRect *
|
||||||
vips_rect_dup( const VipsRect *r )
|
vips_rect_dup( const VipsRect *r )
|
||||||
|
Loading…
Reference in New Issue
Block a user