fix various small doc problems

This commit is contained in:
John Cupitt 2016-07-13 17:07:26 +01:00
parent 23d9bad581
commit b814baa78c
3 changed files with 7 additions and 11 deletions

View File

@ -296,11 +296,6 @@ typedef struct _VipsArgumentInstance {
*/
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,
GObject **member, GObject *argument );
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 );
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 );

View File

@ -2691,9 +2691,9 @@ test_name( VipsObjectClass *class, const char *nickname )
*
* 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 )
{
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 ) )
type = hit->type;
else {
VipsObjectClass *class;
const VipsObjectClass *class;
if( !(class = vips_class_find( basename, nickname )) )
return( 0 );

View File

@ -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
*
* 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 *
vips_rect_dup( const VipsRect *r )