libgimp/gimpunitcache.h libgimpbase/gimpchecks.h

2004-11-04  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpunitcache.h
	* libgimpbase/gimpchecks.h
	* libgimpbase/gimpdatafiles.h
	* libgimpbase/gimplimits.h
	* libgimpbase/gimpmemsize.h
	* libgimpbase/gimputils.h
	* libgimpbase/gimpwin32-io.h
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-error.h
	* libgimpwidgets/gimppreviewarea.h: added G_BEGIN_DECLS / G_END_DECLS.
This commit is contained in:
Michael Natterer 2004-11-04 10:51:55 +00:00 committed by Michael Natterer
parent de592c4e00
commit 5c0c2a4189
11 changed files with 55 additions and 0 deletions

View File

@ -1,3 +1,16 @@
2004-11-04 Michael Natterer <mitch@gimp.org>
* libgimp/gimpunitcache.h
* libgimpbase/gimpchecks.h
* libgimpbase/gimpdatafiles.h
* libgimpbase/gimplimits.h
* libgimpbase/gimpmemsize.h
* libgimpbase/gimputils.h
* libgimpbase/gimpwin32-io.h
* libgimpthumb/gimpthumb-enums.h
* libgimpthumb/gimpthumb-error.h
* libgimpwidgets/gimppreviewarea.h: added G_BEGIN_DECLS / G_END_DECLS.
2004-11-04 Michael Natterer <mitch@gimp.org>
* plug-ins/common/ccanalyze.c

View File

@ -23,6 +23,8 @@
#ifndef __GIMP_UNIT_CACHE_H__
#define __GIMP_UNIT_CACHE_H__
G_BEGIN_DECLS
gint _gimp_unit_cache_get_number_of_units (void);
gint _gimp_unit_cache_get_number_of_built_in_units (void);
@ -46,4 +48,6 @@ const gchar * _gimp_unit_cache_get_singular (GimpUnit unit);
const gchar * _gimp_unit_cache_get_plural (GimpUnit unit);
G_END_DECLS
#endif /* __GIMP_UNIT_CACHE_H__ */

View File

@ -20,6 +20,8 @@
#ifndef __GIMP_CHECKS_H__
#define __GIMP_CHECKS_H__
G_BEGIN_DECLS
/* the default size of the checks which indicate transparency ...
*/
@ -37,4 +39,6 @@ void gimp_checks_get_shades (GimpCheckType type,
guchar *dark);
G_END_DECLS
#endif /* __GIMP_CHECKS_H__ */

View File

@ -25,6 +25,8 @@
#include <time.h>
G_BEGIN_DECLS
struct _GimpDatafileData
{
@ -47,4 +49,6 @@ void gimp_datafiles_read_directories (const gchar *path_str,
gpointer user_data);
G_END_DECLS
#endif /* __GIMP_DATAFILES_H__ */

View File

@ -23,6 +23,8 @@
#ifndef __GIMP_LIMITS_H__
#define __GIMP_LIMITS_H__
G_BEGIN_DECLS
/* pixel sizes
*/
@ -42,4 +44,6 @@
*/
G_END_DECLS
#endif /* __GIMP_LIMITS_H__ */

View File

@ -20,6 +20,8 @@
#ifndef __GIMP_MEMSIZE_H__
#define __GIMP_MEMSIZE_H__
G_BEGIN_DECLS
#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
@ -33,4 +35,6 @@ gboolean gimp_memsize_deserialize (const gchar *string,
gchar * gimp_memsize_to_string (guint64 memsize);
G_END_DECLS
#endif /* __GIMP_MEMSIZE_H__ */

View File

@ -20,6 +20,8 @@
#ifndef __GIMP_UTILS_H__
#define __GIMP_UTILS_H__
G_BEGIN_DECLS
gchar * gimp_utf8_strtrim (const gchar *str,
gint max_chars);
@ -61,4 +63,6 @@ const gchar * gimp_flags_value_get_help (GFlagsClass *flags_class,
GFlagsValue *flags_value);
G_END_DECLS
#endif /* __GIMP_UTILS_H__ */

View File

@ -26,6 +26,9 @@
#include <io.h>
#include <direct.h>
G_BEGIN_DECLS
#define mkdir(n,a) _mkdir(n)
#define chmod(n,f) _chmod(n,f)
#define access(f,p) _access(f,p)
@ -67,4 +70,7 @@
#define X_OK 0 /* not really */
#endif
G_END_DECLS
#endif /* __GIMP_WIN32_IO_H__ */

View File

@ -26,6 +26,8 @@
#ifndef __GIMP_THUMB_ENUMS_H__
#define __GIMP_THUMB_ENUMS_H__
G_BEGIN_DECLS
#define GIMP_TYPE_THUMB_FILE_TYPE (gimp_thumb_file_type_get_type ())
@ -70,4 +72,6 @@ typedef enum
} GimpThumbState;
G_END_DECLS
#endif /* __GIMP_THUMB_ENUMS_H__ */

View File

@ -26,6 +26,8 @@
#ifndef __GIMP_THUMB_ERROR_H__
#define __GIMP_THUMB_ERROR_H__
G_BEGIN_DECLS
typedef enum
{
@ -40,4 +42,6 @@ typedef enum
GQuark gimp_thumb_error_quark (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GIMP_THUMB_ERROR_H__ */

View File

@ -22,6 +22,8 @@
#include <gtk/gtkdrawingarea.h>
G_BEGIN_DECLS
#define GIMP_TYPE_PREVIEW_AREA (gimp_preview_area_get_type ())
#define GIMP_PREVIEW_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_PREVIEW_AREA, GimpPreviewArea))
@ -122,4 +124,6 @@ void gimp_preview_area_menu_popup (GimpPreviewArea *area,
GdkEventButton *event);
G_END_DECLS
#endif /* __GIMP_PREVIEW_AREA_H__ */