Commit 19190313 authored by Nate Summers's avatar Nate Summers

libgimp/gimp.[ch] libgimp/gimpdrawable.c added some documentation


 	* libgimp/gimp.[ch]
	* libgimp/gimpdrawable.c
 	* libgimp/gimpimage.c: added some documentation
parent 7286023a
......@@ -869,6 +869,20 @@ gimp_get_progname (void)
return progname;
}
/**
* gimp_attach_new_parasite:
* @name: the name of the #GimpParasite to create and attach.
* @flags: the flags set on the #GimpParasite.
* @size: the size of the parasite data in bytes.
* @data: a pointer to the data attached with the #GimpParasite.
*
* Convenience function that creates a parasite and attaches it
* to the GIMP.
*
* See Also: gimp_parasite_attach()
*/
void
gimp_attach_new_parasite (const gchar *name,
gint flags,
......
......@@ -150,6 +150,17 @@ struct _GimpParam
/**
* MAIN():
*
* A macro that expands to the appropriate main() function for the
* platform being compiled for.
*
* To use this macro, simply place a line that contains just the code
* MAIN() at the toplevel of your file. No semicolon should be used.
*
*/
#ifdef G_OS_WIN32
void set_gimp_PLUG_IN_INFO_PTR(GimpPlugInInfo *);
......
......@@ -254,6 +254,19 @@ gimp_drawable_get_thumbnail_data (gint32 drawable_ID,
return image_data;
}
/**
* gimp_drawable_attach_new_parasite:
* @drawable_ID: the ID of the #GimpDrawable to attach the #GimpParasite to.
* @name: the name of the #GimpParasite to create and attach.
* @flags: the flags set on the #GimpParasite.
* @size: the size of the parasite data in bytes.
* @data: a pointer to the data attached with the #GimpParasite.
*
* Convenience function that creates a parasite and attaches it
* to the GIMP.
*
* See Also: gimp_drawable_parasite_attach()
*/
void
gimp_drawable_attach_new_parasite (gint32 drawable,
const gchar *name,
......
......@@ -103,6 +103,19 @@ gimp_image_get_thumbnail_data (gint32 image_ID,
return image_data;
}
/**
* gimp_image_attach_new_parasite:
* @image_ID: the ID of the image to attach the #GimpParasite to.
* @name: the name of the #GimpParasite to create and attach.
* @flags: the flags set on the #GimpParasite.
* @size: the size of the parasite data in bytes.
* @data: a pointer to the data attached with the #GimpParasite.
*
* Convenience function that creates a parasite and attaches it
* to the GIMP.
*
* See Also: gimp_image_parasite_attach()
*/
void
gimp_image_attach_new_parasite (gint32 image_ID,
const gchar *name,
......
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