Commit 7dcbb732 authored by Jon Nordby's avatar Jon Nordby
Browse files

introspection: Don't depend on Babl

Babl is not introspection friendly, just skip the API
that depends on Babl in the GI bindings.
parent 84c59569
......@@ -119,7 +119,7 @@ introspection_sources = \
INCLUDES = $(AM_CFLAGS) $(AM_CPPFLAGS)
Gegl-@GEGL_API_VERSION@.gir: libgegl-@GEGL_API_VERSION@.la Makefile
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0 Babl-0.1
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_CFLAGS = $(INCLUDES)
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_LIBS = libgegl-@GEGL_API_VERSION@.la
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_FILES = $(introspection_sources)
......
......@@ -45,7 +45,7 @@ typedef struct GeglBufferIterator
/**
* gegl_buffer_iterator_new:
* gegl_buffer_iterator_new: (skip)
* @buffer: a #GeglBuffer
* @roi: the rectangle to iterate over
* @level: the level at which we are iterating, the roi will indicate the
......@@ -73,7 +73,7 @@ GeglBufferIterator * gegl_buffer_iterator_new (GeglBuffer *buffer,
/**
* gegl_buffer_iterator_add:
* gegl_buffer_iterator_add: (skip)
* @iterator: a #GeglBufferIterator
* @buffer: a #GeglBuffer
* @roi: the rectangle to iterate over
......@@ -123,8 +123,6 @@ void gegl_buffer_iterator_stop (GeglBufferIterator *iterator);
*/
gboolean gegl_buffer_iterator_next (GeglBufferIterator *iterator);
/**
*/
#ifdef EXAMPLE
......
......@@ -48,7 +48,7 @@ typedef struct _GeglSampler GeglSampler;
GType gegl_buffer_get_type (void) G_GNUC_CONST;
/**
* gegl_buffer_new:
* gegl_buffer_new: (skip)
* @extent: the geometry of the buffer (origin, width and height) a
* GeglRectangle.
* @format: the Babl pixel format to be used, create one with babl_format("RGBA
......@@ -238,7 +238,7 @@ gboolean gegl_buffer_set_abyss (GeglBuffer *buffer,
#endif
/**
* gegl_buffer_get:
* gegl_buffer_get: (skip)
* @buffer: the buffer to retrieve data from.
* @rect: the coordinates we want to retrieve data from, and width/height of
* destination buffer, if NULL equal to the extent of the buffer. The
......@@ -336,7 +336,7 @@ const Babl * gegl_buffer_get_format (GeglBuffer *buffer);
/**
* gegl_buffer_set_format:
* gegl_buffer_set_format: (skip)
* @buffer: a #GeglBuffer
* @format: the new babl format, must have same bpp as original format.
*
......@@ -395,7 +395,7 @@ GeglBuffer * gegl_buffer_dup (GeglBuffer *buffer);
/**
* gegl_buffer_sample:
* gegl_buffer_sample: (skip)
* @buffer: the GeglBuffer to sample from
* @x: x coordinate to sample in buffer coordinates
* @y: y coordinate to sample in buffer coordinates
......@@ -450,7 +450,7 @@ void gegl_buffer_sample_cleanup (GeglBuffer *buffer);
GeglSamplerType gegl_sampler_type_from_string (const gchar *string);
/**
* gegl_buffer_sampler_new:
* gegl_buffer_sampler_new: (skip)
* @buffer: buffer to create a new sampler for
* @format: format we want data back in
* @sampler_type: the sampler type to use,
......@@ -495,7 +495,7 @@ void gegl_sampler_get (GeglSampler *sampler,
const GeglRectangle * gegl_sampler_get_context_rect (GeglSampler *sampler);
/**
* gegl_buffer_linear_new:
* gegl_buffer_linear_new: (skip)
* @extent: dimensions of buffer.
* @format: desired pixel format.
*
......@@ -509,7 +509,7 @@ GeglBuffer * gegl_buffer_linear_new (const GeglRectangle *extent,
const Babl *format);
/**
* gegl_buffer_linear_new_from_data:
* gegl_buffer_linear_new_from_data: (skip)
* @data: a pointer to a linear buffer in memory.
* @format: the format of the data in memory
* @extent: the dimensions (and upper left coordinates) of linear buffer.
......@@ -534,7 +534,7 @@ GeglBuffer * gegl_buffer_linear_new_from_data (const gpointer data,
gpointer destroy_fn_data);
/**
* gegl_buffer_linear_open:
* gegl_buffer_linear_open: (skip)
* @buffer: a #GeglBuffer.
* @extent: region to open, pass NULL for entire buffer.
* @rowstride: return location for rowstride.
......
......@@ -396,7 +396,7 @@ void gegl_node_get_valist (GeglNode *node,
*/
/**
* gegl_node_blit:
* gegl_node_blit: (skip)
* @node: a #GeglNode
* @scale: the scale to render at 1.0 is default, other values changes the
* width/height of the sampled region.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment