#ifndef _BABL_INTROSPECT_H
#define _BABL_INTROSPECT_H
+#include <babl/babl.h>
-void babl_introspect (Babl *babl); /* introspect a given BablObject */
+/**
+ * babl_introspect:
+ * @babl: A #Babl
+ *
+ * introspect a given BablObject
+ */
+void babl_introspect (Babl *babl);
#endif
#define BABL_MINOR_VERSION @BABL_MINOR_VERSION@
#define BABL_MICRO_VERSION @BABL_MICRO_VERSION@
-/** Get the version information on the babl library */
+/**
+ * babl_get_version:
+ * @major: (out): The major version number
+ * @minor: (out): The minor version number
+ * @micro: (out): The micro version number
+ *
+ * Get the version information on the babl library
+ */
void babl_get_version (int *major,
int *minor,
int *micro);
/**
* babl_space_from_icc:
- *
* @icc_data: pointer to icc profile in memory
* @icc_length: length of icc profile in bytes
* @intent: the intent from the ICC profile to use.
- *
- " @error: pointer to a string where decoding errors can be stored,
+ * @error: (out): pointer to a string where decoding errors can be stored,
* if an error occurs, NULL is returned and an error message
* is provided in error.
*
/**
* babl_space_get_icc:
+ * @babl: a #Babl
+ * @length: (out) (optional): Length of the profile in bytes.
*
* Return pointer to ICC profile for space note that this is
* the ICC profile for R'G'B', though in formats only supporting linear
* like EXR GEGL chooses to load this lienar data as RGB and use the sRGB
* TRC.
*
- * @babl: a BablSpace
- * @length: point to an integer where length of profile in bytes is stored.
- *
- * Returns pointer to ICC profile data.
+ * Returns: pointer to ICC profile data.
*/
const char *babl_space_get_icc (const Babl *babl, int *length);