yet mmore doc fixes

classes are working again in gtk-doc, yay
This commit is contained in:
John Cupitt 2016-07-13 22:39:16 +01:00
parent b814baa78c
commit 9c18f1b4d5
9 changed files with 41 additions and 22 deletions

View File

@ -609,7 +609,7 @@ vips_foreign_find_load_buffer( const void *data, size_t size )
gboolean gboolean
vips_foreign_is_a( const char *loader, const char *filename ) vips_foreign_is_a( const char *loader, const char *filename )
{ {
VipsObjectClass *class; const VipsObjectClass *class;
VipsForeignLoadClass *load_class; VipsForeignLoadClass *load_class;
if( !(class = vips_class_find( "VipsForeignLoad", loader )) ) if( !(class = vips_class_find( "VipsForeignLoad", loader )) )
@ -636,7 +636,7 @@ vips_foreign_is_a( const char *loader, const char *filename )
gboolean gboolean
vips_foreign_is_a_buffer( const char *loader, const void *data, size_t size ) vips_foreign_is_a_buffer( const char *loader, const void *data, size_t size )
{ {
VipsObjectClass *class; const VipsObjectClass *class;
VipsForeignLoadClass *load_class; VipsForeignLoadClass *load_class;
if( !(class = vips_class_find( "VipsForeignLoad", loader )) ) if( !(class = vips_class_find( "VipsForeignLoad", loader )) )
@ -662,7 +662,7 @@ vips_foreign_is_a_buffer( const char *loader, const void *data, size_t size )
VipsForeignFlags VipsForeignFlags
vips_foreign_flags( const char *loader, const char *filename ) vips_foreign_flags( const char *loader, const char *filename )
{ {
VipsObjectClass *class; const VipsObjectClass *class;
if( (class = vips_class_find( "VipsForeignLoad", loader )) ) { if( (class = vips_class_find( "VipsForeignLoad", loader )) ) {
VipsForeignLoadClass *load_class = VipsForeignLoadClass *load_class =

View File

@ -77,6 +77,8 @@ typedef struct _VipsForeignClass {
} VipsForeignClass; } VipsForeignClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_foreign_get_type(void); GType vips_foreign_get_type(void);
/* Map over and find formats. This uses type introspection to loop over /* Map over and find formats. This uses type introspection to loop over
@ -211,6 +213,8 @@ typedef struct _VipsForeignLoadClass {
int (*load)( VipsForeignLoad *load ); int (*load)( VipsForeignLoad *load );
} VipsForeignLoadClass; } VipsForeignLoadClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_foreign_load_get_type(void); GType vips_foreign_load_get_type(void);
const char *vips_foreign_find_load( const char *filename ); const char *vips_foreign_find_load( const char *filename );
@ -313,6 +317,8 @@ typedef struct _VipsForeignSaveClass {
gboolean coding[VIPS_CODING_LAST]; gboolean coding[VIPS_CODING_LAST];
} VipsForeignSaveClass; } VipsForeignSaveClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_foreign_save_get_type(void); GType vips_foreign_save_get_type(void);
const char *vips_foreign_find_save( const char *filename ); const char *vips_foreign_find_save( const char *filename );

View File

@ -173,7 +173,7 @@ typedef struct _VipsProgress {
VIPS_TYPE_IMAGE, VipsImageClass )) VIPS_TYPE_IMAGE, VipsImageClass ))
typedef struct _VipsImage { typedef struct _VipsImage {
VipsObject parent_object; VipsObject parent_instance;
/*< private >*/ /*< private >*/
@ -356,6 +356,8 @@ typedef struct _VipsImageClass {
} VipsImageClass; } VipsImageClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_image_get_type(void); GType vips_image_get_type(void);
/* Has to be guint64 and not size_t/off_t since we have to be able to address /* Has to be guint64 and not size_t/off_t since we have to be able to address

View File

@ -87,6 +87,8 @@ typedef struct _VipsInterpolateClass {
int window_offset; int window_offset;
} VipsInterpolateClass; } VipsInterpolateClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_interpolate_get_type(void); GType vips_interpolate_get_type(void);
void vips_interpolate( VipsInterpolate *interpolate, void vips_interpolate( VipsInterpolate *interpolate,
void *out, VipsRegion *in, double x, double y ); void *out, VipsRegion *in, double x, double y );

View File

@ -406,7 +406,7 @@ int vips_object_get_argument_priority( VipsObject *object, const char *name );
(G_TYPE_INSTANCE_GET_CLASS( (obj), VIPS_TYPE_OBJECT, VipsObjectClass )) (G_TYPE_INSTANCE_GET_CLASS( (obj), VIPS_TYPE_OBJECT, VipsObjectClass ))
struct _VipsObject { struct _VipsObject {
GObject parent_object; GObject parent_instance;
/* Set after ->build() has run succesfully: construct is fully done /* Set after ->build() has run succesfully: construct is fully done
* and checked. * and checked.
@ -579,6 +579,8 @@ void vips_object_print_name( VipsObject *object );
gboolean vips_object_sanity( VipsObject *object ); gboolean vips_object_sanity( VipsObject *object );
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_object_get_type(void); GType vips_object_get_type(void);
void vips_object_class_install_argument( VipsObjectClass *cls, void vips_object_class_install_argument( VipsObjectClass *cls,

View File

@ -92,6 +92,8 @@ typedef struct _VipsOperationClass {
void (*invalidate)( VipsOperation *operation ); void (*invalidate)( VipsOperation *operation );
} VipsOperationClass; } VipsOperationClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_operation_get_type(void); GType vips_operation_get_type(void);
VipsOperationFlags vips_operation_get_flags( VipsOperation *operation ); VipsOperationFlags vips_operation_get_flags( VipsOperation *operation );

View File

@ -98,6 +98,8 @@ typedef struct _VipsRegionClass {
} VipsRegionClass; } VipsRegionClass;
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_region_get_type(void); GType vips_region_get_type(void);
VipsRegion *vips_region_new( VipsImage *image ); VipsRegion *vips_region_new( VipsImage *image );

View File

@ -97,6 +97,9 @@ typedef struct _VipsThreadStateClass {
} VipsThreadStateClass; } VipsThreadStateClass;
void *vips_thread_state_set( VipsObject *object, void *a, void *b ); void *vips_thread_state_set( VipsObject *object, void *a, void *b );
/* Don't put spaces around void here, it breaks gtk-doc.
*/
GType vips_thread_state_get_type(void); GType vips_thread_state_get_type(void);
VipsThreadState *vips_thread_state_new( VipsImage *im, void *a ); VipsThreadState *vips_thread_state_new( VipsImage *im, void *a );