Revert (partly) "app, pdb, libgimp: use "#pragma once" instead of:"

This reverts commit 246f9d284f.

This only reverts the part modifying libgimp* headers. All the part
switching to #pragma once in app/ was kept. See #14668.
This commit is contained in:
Jehan 2025-08-14 00:31:46 +02:00
parent 6cc054ee4e
commit 0d50753cca
68 changed files with 402 additions and 126 deletions

View file

@ -18,10 +18,12 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_DEBUG_H__
#define __GIMP_DEBUG_H__
G_BEGIN_DECLS G_BEGIN_DECLS
typedef enum typedef enum
{ {
GIMP_DEBUG_PID = 1 << 0, GIMP_DEBUG_PID = 1 << 0,
@ -40,5 +42,7 @@ void _gimp_debug_configure (GimpStackTraceMode stack_trace_mode);
guint _gimp_get_debug_flags (void); guint _gimp_get_debug_flags (void);
void _gimp_debug_stop (void); void _gimp_debug_stop (void);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DEBUG_H__ */

View file

@ -18,10 +18,15 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_PRIVATE_H__
#define __GIMP_PRIVATE_H__
G_BEGIN_DECLS G_BEGIN_DECLS
void _gimp_config (GPConfig *config); void _gimp_config (GPConfig *config);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PRIVATE_H__ */

View file

@ -18,13 +18,18 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_SHM_H__
#define __GIMP_SHM_H__
G_BEGIN_DECLS G_BEGIN_DECLS
guchar * _gimp_shm_addr (void); guchar * _gimp_shm_addr (void);
void _gimp_shm_open (gint shm_ID); void _gimp_shm_open (gint shm_ID);
void _gimp_shm_close (void); void _gimp_shm_close (void);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_SHM_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_GIMP_PDB_H__
#define __GIMP_GIMP_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ GimpParasite* gimp_get_parasite (const gchar *name);
gchar** gimp_get_parasite_list (void); gchar** gimp_get_parasite_list (void);
GFile* gimp_temp_file (const gchar *extension); GFile* gimp_temp_file (const gchar *extension);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_GIMP_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_BRUSH_PDB_H__
#define __GIMP_BRUSH_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -80,4 +81,7 @@ gboolean gimp_brush_set_angle (GimpBrush *
gdouble angle_in, gdouble angle_in,
gdouble *angle_out); gdouble *angle_out);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BRUSH_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_BRUSHES_PDB_H__
#define __GIMP_BRUSHES_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_brushes_refresh (void); gboolean gimp_brushes_refresh (void);
GimpBrush** gimp_brushes_get_list (const gchar *filter); GimpBrush** gimp_brushes_get_list (const gchar *filter);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BRUSHES_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_BRUSH_SELECT_PDB_H__
#define __GIMP_BRUSH_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ gboolean gimp_brushes_close_popup (const gchar *brush_callback);
gboolean gimp_brushes_set_popup (const gchar *brush_callback, gboolean gimp_brushes_set_popup (const gchar *brush_callback,
GimpBrush *brush); GimpBrush *brush);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BRUSH_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_BUFFER_PDB_H__
#define __GIMP_BUFFER_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -40,4 +41,7 @@ gint gimp_buffer_get_height (const gchar *buffer_name);
gint gimp_buffer_get_bytes (const gchar *buffer_name); gint gimp_buffer_get_bytes (const gchar *buffer_name);
GimpImageType gimp_buffer_get_image_type (const gchar *buffer_name); GimpImageType gimp_buffer_get_image_type (const gchar *buffer_name);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BUFFER_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_CHANNEL_PDB_H__
#define __GIMP_CHANNEL_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -56,4 +57,7 @@ GeglColor* gimp_channel_get_color (GimpChannel *channel);
gboolean gimp_channel_set_color (GimpChannel *channel, gboolean gimp_channel_set_color (GimpChannel *channel,
GeglColor *color); GeglColor *color);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_CHANNEL_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_CONTEXT_PDB_H__
#define __GIMP_CONTEXT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -154,4 +155,7 @@ gdouble gimp_context_get_ink_blob_angle (void)
gboolean gimp_context_set_ink_blob_angle (gdouble angle); gboolean gimp_context_set_ink_blob_angle (gdouble angle);
G_GNUC_INTERNAL GimpResource* _gimp_context_get_resource (const gchar *type_name); G_GNUC_INTERNAL GimpResource* _gimp_context_get_resource (const gchar *type_name);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_CONTEXT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DEBUG_PDB_H__
#define __GIMP_DEBUG_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_debug_timer_start (void); gboolean gimp_debug_timer_start (void);
gdouble gimp_debug_timer_end (void); gdouble gimp_debug_timer_end (void);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DEBUG_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DISPLAY_PDB_H__
#define __GIMP_DISPLAY_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -40,4 +41,7 @@ gboolean gimp_displays_flush (void);
gboolean gimp_displays_reconnect (GimpImage *old_image, gboolean gimp_displays_reconnect (GimpImage *old_image,
GimpImage *new_image); GimpImage *new_image);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DISPLAY_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DRAWABLE_PDB_H__
#define __GIMP_DRAWABLE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -106,4 +107,7 @@ gboolean gimp_drawable_foreground_extract (GimpDrawable
GimpForegroundExtractMode mode, GimpForegroundExtractMode mode,
GimpDrawable *mask); GimpDrawable *mask);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DRAWABLE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DRAWABLE_COLOR_PDB_H__
#define __GIMP_DRAWABLE_COLOR_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -103,4 +104,7 @@ gboolean gimp_drawable_threshold (GimpDrawable *drawable,
gdouble low_threshold, gdouble low_threshold,
gdouble high_threshold); gdouble high_threshold);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DRAWABLE_COLOR_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DRAWABLE_EDIT_PDB_H__
#define __GIMP_DRAWABLE_EDIT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -53,4 +54,7 @@ gboolean gimp_drawable_edit_stroke_selection (GimpDrawable *drawable);
gboolean gimp_drawable_edit_stroke_item (GimpDrawable *drawable, gboolean gimp_drawable_edit_stroke_item (GimpDrawable *drawable,
GimpItem *item); GimpItem *item);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DRAWABLE_EDIT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DRAWABLE_FILTER_PDB_H__
#define __GIMP_DRAWABLE_FILTER_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -64,4 +65,7 @@ gboolean gimp_drawable_filter_operation_get_details (const
GimpValueArray **propvalues); GimpValueArray **propvalues);
GimpValueArray* gimp_drawable_filter_operation_get_pspecs (const gchar *operation_name); GimpValueArray* gimp_drawable_filter_operation_get_pspecs (const gchar *operation_name);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DRAWABLE_FILTER_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DRAWABLE_SELECT_PDB_H__
#define __GIMP_DRAWABLE_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -40,4 +41,7 @@ gboolean gimp_drawables_close_popup (const gchar *callback);
gboolean gimp_drawables_set_popup (const gchar *callback, gboolean gimp_drawables_set_popup (const gchar *callback,
GimpDrawable *drawable); GimpDrawable *drawable);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DRAWABLE_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_DYNAMICS_PDB_H__
#define __GIMP_DYNAMICS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_dynamics_refresh (void); gboolean gimp_dynamics_refresh (void);
gchar** gimp_dynamics_get_name_list (const gchar *filter); gchar** gimp_dynamics_get_name_list (const gchar *filter);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_DYNAMICS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_EDIT_PDB_H__
#define __GIMP_EDIT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -48,4 +49,7 @@ GimpLayer* gimp_edit_named_paste (GimpDrawable *drawable
gboolean paste_into); gboolean paste_into);
GimpImage* gimp_edit_named_paste_as_new_image (const gchar *buffer_name); GimpImage* gimp_edit_named_paste_as_new_image (const gchar *buffer_name);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_EDIT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_FILE_PDB_H__
#define __GIMP_FILE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -46,4 +47,7 @@ gboolean gimp_file_save (GimpRunMode run_mode,
gboolean gimp_file_create_thumbnail (GimpImage *image, gboolean gimp_file_create_thumbnail (GimpImage *image,
GFile *file); GFile *file);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_FILE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_FLOATING_SEL_PDB_H__
#define __GIMP_FLOATING_SEL_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -37,4 +38,7 @@ gboolean gimp_floating_sel_to_layer (GimpLayer *floating_sel);
gboolean gimp_floating_sel_attach (GimpLayer *layer, gboolean gimp_floating_sel_attach (GimpLayer *layer,
GimpDrawable *drawable); GimpDrawable *drawable);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_FLOATING_SEL_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_FONT_PDB_H__
#define __GIMP_FONT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
G_GNUC_INTERNAL gchar* _gimp_font_get_lookup_name (GimpFont *font); G_GNUC_INTERNAL gchar* _gimp_font_get_lookup_name (GimpFont *font);
GimpFont* gimp_font_get_by_name (const gchar *name); GimpFont* gimp_font_get_by_name (const gchar *name);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_FONT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_FONTS_PDB_H__
#define __GIMP_FONTS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -37,4 +38,7 @@ G_GNUC_INTERNAL gchar* _gimp_fonts_get_custom_configs (gchar **sysconfig,
gchar ***dirs); gchar ***dirs);
GimpFont** gimp_fonts_get_list (const gchar *filter); GimpFont** gimp_fonts_get_list (const gchar *filter);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_FONTS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_FONT_SELECT_PDB_H__
#define __GIMP_FONT_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ gboolean gimp_fonts_close_popup (const gchar *font_callback);
gboolean gimp_fonts_set_popup (const gchar *font_callback, gboolean gimp_fonts_set_popup (const gchar *font_callback,
GimpFont *font); GimpFont *font);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_FONT_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_GIMPRC_PDB_H__
#define __GIMP_GIMPRC_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -41,4 +42,7 @@ gboolean gimp_get_monitor_resolution (gdouble *xres,
G_GNUC_INTERNAL gchar* _gimp_get_color_configuration (void); G_GNUC_INTERNAL gchar* _gimp_get_color_configuration (void);
gchar* gimp_get_module_load_inhibit (void); gchar* gimp_get_module_load_inhibit (void);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_GIMPRC_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_GRADIENT_PDB_H__
#define __GIMP_GRADIENT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -118,4 +119,7 @@ gdouble gimp_gradient_segment_range_move (GimpGradient
gdouble delta, gdouble delta,
gboolean control_compress); gboolean control_compress);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_GRADIENT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_GRADIENTS_PDB_H__
#define __GIMP_GRADIENTS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_gradients_refresh (void); gboolean gimp_gradients_refresh (void);
GimpGradient** gimp_gradients_get_list (const gchar *filter); GimpGradient** gimp_gradients_get_list (const gchar *filter);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_GRADIENTS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_GRADIENT_SELECT_PDB_H__
#define __GIMP_GRADIENT_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ gboolean gimp_gradients_close_popup (const gchar *gradient_callback);
gboolean gimp_gradients_set_popup (const gchar *gradient_callback, gboolean gimp_gradients_set_popup (const gchar *gradient_callback,
GimpGradient *gradient); GimpGradient *gradient);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_GRADIENT_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_GROUP_LAYER_PDB_H__
#define __GIMP_GROUP_LAYER_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -35,4 +36,7 @@ GimpGroupLayer* gimp_group_layer_new (GimpImage *image,
const gchar *name); const gchar *name);
GimpLayer* gimp_group_layer_merge (GimpGroupLayer *group_layer); GimpLayer* gimp_group_layer_merge (GimpGroupLayer *group_layer);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_GROUP_LAYER_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_HELP_PDB_H__
#define __GIMP_HELP_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_help (const gchar *help_domain, gboolean gimp_help (const gchar *help_domain,
const gchar *help_id); const gchar *help_id);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_HELP_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_PDB_H__
#define __GIMP_IMAGE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -203,4 +204,7 @@ gboolean gimp_image_policy_rotate (GimpImage
gboolean gimp_image_policy_color_profile (GimpImage *image, gboolean gimp_image_policy_color_profile (GimpImage *image,
gboolean interactive); gboolean interactive);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_AUTOCROP_PDB_H__
#define __GIMP_IMAGE_AUTOCROP_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -36,4 +37,7 @@ gboolean gimp_image_autocrop (GimpImage *image,
gboolean gimp_image_autocrop_selected_layers (GimpImage *image, gboolean gimp_image_autocrop_selected_layers (GimpImage *image,
GimpDrawable *drawable); GimpDrawable *drawable);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_AUTOCROP_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_COLOR_PROFILE_PDB_H__
#define __GIMP_IMAGE_COLOR_PROFILE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -57,4 +58,7 @@ gboolean gimp_image_convert_color_profile_from_file (GimpImage
GimpColorRenderingIntent intent, GimpColorRenderingIntent intent,
gboolean bpc); gboolean bpc);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_COLOR_PROFILE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_CONVERT_PDB_H__
#define __GIMP_IMAGE_CONVERT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -46,4 +47,7 @@ gboolean gimp_image_convert_set_dither_matrix (gint width,
gboolean gimp_image_convert_precision (GimpImage *image, gboolean gimp_image_convert_precision (GimpImage *image,
GimpPrecision precision); GimpPrecision precision);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_CONVERT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_GRID_PDB_H__
#define __GIMP_IMAGE_GRID_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -53,4 +54,7 @@ GimpGridStyle gimp_image_grid_get_style (GimpImage *image);
gboolean gimp_image_grid_set_style (GimpImage *image, gboolean gimp_image_grid_set_style (GimpImage *image,
GimpGridStyle style); GimpGridStyle style);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_GRID_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_GUIDES_PDB_H__
#define __GIMP_IMAGE_GUIDES_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -44,4 +45,7 @@ GimpOrientationType gimp_image_get_guide_orientation (GimpImage *image,
gint gimp_image_get_guide_position (GimpImage *image, gint gimp_image_get_guide_position (GimpImage *image,
guint guide); guint guide);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_GUIDES_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_SAMPLE_POINTS_PDB_H__
#define __GIMP_IMAGE_SAMPLE_POINTS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -42,4 +43,7 @@ gint gimp_image_get_sample_point_position (GimpImage *image,
guint sample_point, guint sample_point,
gint *position_y); gint *position_y);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_SAMPLE_POINTS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_SELECT_PDB_H__
#define __GIMP_IMAGE_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -68,4 +69,7 @@ gboolean gimp_image_select_item (GimpImage *image,
GimpChannelOps operation, GimpChannelOps operation,
GimpItem *item); GimpItem *item);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_TRANSFORM_PDB_H__
#define __GIMP_IMAGE_TRANSFORM_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -50,4 +51,7 @@ gboolean gimp_image_flip (GimpImage *image,
gboolean gimp_image_rotate (GimpImage *image, gboolean gimp_image_rotate (GimpImage *image,
GimpRotationType rotate_type); GimpRotationType rotate_type);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_TRANSFORM_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_IMAGE_UNDO_PDB_H__
#define __GIMP_IMAGE_UNDO_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ gboolean gimp_image_undo_enable (GimpImage *image);
gboolean gimp_image_undo_freeze (GimpImage *image); gboolean gimp_image_undo_freeze (GimpImage *image);
gboolean gimp_image_undo_thaw (GimpImage *image); gboolean gimp_image_undo_thaw (GimpImage *image);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_IMAGE_UNDO_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_ITEM_PDB_H__
#define __GIMP_ITEM_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -77,4 +78,7 @@ GimpParasite* gimp_item_get_parasite (GimpItem *item,
const gchar *name); const gchar *name);
gchar** gimp_item_get_parasite_list (GimpItem *item); gchar** gimp_item_get_parasite_list (GimpItem *item);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_ITEM_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_ITEM_TRANSFORM_PDB_H__
#define __GIMP_ITEM_TRANSFORM_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -89,4 +90,7 @@ GimpItem* gimp_item_transform_matrix (GimpItem *item,
gdouble coeff_2_1, gdouble coeff_2_1,
gdouble coeff_2_2); gdouble coeff_2_2);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_ITEM_TRANSFORM_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_LAYER_PDB_H__
#define __GIMP_LAYER_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -96,4 +97,7 @@ GimpLayerCompositeMode gimp_layer_get_composite_mode (GimpLayer *
gboolean gimp_layer_set_composite_mode (GimpLayer *layer, gboolean gimp_layer_set_composite_mode (GimpLayer *layer,
GimpLayerCompositeMode composite_mode); GimpLayerCompositeMode composite_mode);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_LAYER_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_MESSAGE_PDB_H__
#define __GIMP_MESSAGE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -35,4 +36,7 @@ gboolean gimp_message (const gchar *message
GimpMessageHandlerType gimp_message_get_handler (void); GimpMessageHandlerType gimp_message_get_handler (void);
gboolean gimp_message_set_handler (GimpMessageHandlerType handler); gboolean gimp_message_set_handler (GimpMessageHandlerType handler);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_MESSAGE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PAINT_TOOLS_PDB_H__
#define __GIMP_PAINT_TOOLS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -102,4 +103,7 @@ gboolean gimp_smudge_default (GimpDrawable *drawable,
gsize num_strokes, gsize num_strokes,
const gdouble *strokes); const gdouble *strokes);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PAINT_TOOLS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PALETTE_PDB_H__
#define __GIMP_PALETTE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -62,4 +63,7 @@ G_GNUC_INTERNAL gboolean _gimp_palette_set_bytes (GimpPalette *palette,
const Babl *format, const Babl *format,
GBytes *colormap); GBytes *colormap);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PALETTE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PALETTES_PDB_H__
#define __GIMP_PALETTES_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_palettes_refresh (void); gboolean gimp_palettes_refresh (void);
GimpPalette** gimp_palettes_get_list (const gchar *filter); GimpPalette** gimp_palettes_get_list (const gchar *filter);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PALETTES_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PALETTE_SELECT_PDB_H__
#define __GIMP_PALETTE_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ gboolean gimp_palettes_close_popup (const gchar *palette_callback);
gboolean gimp_palettes_set_popup (const gchar *palette_callback, gboolean gimp_palettes_set_popup (const gchar *palette_callback,
GimpPalette *palette); GimpPalette *palette);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PALETTE_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PATH_PDB_H__
#define __GIMP_PATH_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -121,4 +122,7 @@ gint gimp_path_bezier_stroke_new_ellipse (GimpPath *pa
gdouble radius_y, gdouble radius_y,
gdouble angle); gdouble angle);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PATH_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PATTERN_PDB_H__
#define __GIMP_PATTERN_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -42,4 +43,7 @@ G_GNUC_INTERNAL gboolean _gimp_pattern_get_pixels (GimpPattern *pattern,
gint *bpp, gint *bpp,
GBytes **color_bytes); GBytes **color_bytes);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PATTERN_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PATTERNS_PDB_H__
#define __GIMP_PATTERNS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -34,4 +35,7 @@ G_BEGIN_DECLS
gboolean gimp_patterns_refresh (void); gboolean gimp_patterns_refresh (void);
GimpPattern** gimp_patterns_get_list (const gchar *filter); GimpPattern** gimp_patterns_get_list (const gchar *filter);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PATTERNS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PATTERN_SELECT_PDB_H__
#define __GIMP_PATTERN_SELECT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -39,4 +40,7 @@ gboolean gimp_patterns_close_popup (const gchar *pattern_callback);
gboolean gimp_patterns_set_popup (const gchar *pattern_callback, gboolean gimp_patterns_set_popup (const gchar *pattern_callback,
GimpPattern *pattern); GimpPattern *pattern);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PATTERN_SELECT_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PDB_PDB_H__
#define __GIMP_PDB_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -103,4 +104,7 @@ G_GNUC_INTERNAL gboolean _gimp_pdb_get_data (const gcha
G_GNUC_INTERNAL gboolean _gimp_pdb_set_data (const gchar *identifier, G_GNUC_INTERNAL gboolean _gimp_pdb_set_data (const gchar *identifier,
GBytes *data); GBytes *data);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PDB_PDB_H__ */

View file

@ -19,10 +19,12 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_PLUG_IN_PRIVATE_H__
#define __GIMP_PLUG_IN_PRIVATE_H__
G_BEGIN_DECLS G_BEGIN_DECLS
G_GNUC_INTERNAL void _gimp_plug_in_query (GimpPlugIn *plug_in); G_GNUC_INTERNAL void _gimp_plug_in_query (GimpPlugIn *plug_in);
G_GNUC_INTERNAL void _gimp_plug_in_init (GimpPlugIn *plug_in); G_GNUC_INTERNAL void _gimp_plug_in_init (GimpPlugIn *plug_in);
G_GNUC_INTERNAL void _gimp_plug_in_run (GimpPlugIn *plug_in); G_GNUC_INTERNAL void _gimp_plug_in_run (GimpPlugIn *plug_in);
@ -59,4 +61,7 @@ G_GNUC_INTERNAL GimpResource * _gimp_plug_in_get_resource (GimpPlugIn
G_GNUC_INTERNAL gboolean _gimp_plug_in_manage_memory_manually (GimpPlugIn *plug_in); G_GNUC_INTERNAL gboolean _gimp_plug_in_manage_memory_manually (GimpPlugIn *plug_in);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PLUG_IN_PRIVATE_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PLUG_IN_PDB_H__
#define __GIMP_PLUG_IN_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -38,4 +39,7 @@ G_GNUC_INTERNAL gboolean _gimp_plug_in_menu_branch_register (const g
G_GNUC_INTERNAL gboolean _gimp_plug_in_set_pdb_error_handler (GimpPDBErrorHandler handler); G_GNUC_INTERNAL gboolean _gimp_plug_in_set_pdb_error_handler (GimpPDBErrorHandler handler);
G_GNUC_INTERNAL GimpPDBErrorHandler _gimp_plug_in_get_pdb_error_handler (void); G_GNUC_INTERNAL GimpPDBErrorHandler _gimp_plug_in_get_pdb_error_handler (void);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PLUG_IN_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_PROGRESS_PDB_H__
#define __GIMP_PROGRESS_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -42,4 +43,7 @@ G_GNUC_INTERNAL gboolean _gimp_progress_install (const gchar *progress_
G_GNUC_INTERNAL gboolean _gimp_progress_uninstall (const gchar *progress_callback); G_GNUC_INTERNAL gboolean _gimp_progress_uninstall (const gchar *progress_callback);
gboolean gimp_progress_cancel (const gchar *progress_callback); gboolean gimp_progress_cancel (const gchar *progress_callback);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_PROGRESS_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_RESOURCE_PDB_H__
#define __GIMP_RESOURCE_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -53,4 +54,7 @@ gboolean gimp_resource_rename (GimpResource *
const gchar *new_name); const gchar *new_name);
gboolean gimp_resource_delete (GimpResource *resource); gboolean gimp_resource_delete (GimpResource *resource);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_RESOURCE_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_SELECTION_PDB_H__
#define __GIMP_SELECTION_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -62,4 +63,7 @@ gboolean gimp_selection_shrink (GimpImage *image,
gboolean gimp_selection_flood (GimpImage *image); gboolean gimp_selection_flood (GimpImage *image);
GimpChannel* gimp_selection_save (GimpImage *image); GimpChannel* gimp_selection_save (GimpImage *image);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_SELECTION_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_TEXT_LAYER_PDB_H__
#define __GIMP_TEXT_LAYER_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -84,4 +85,7 @@ gboolean gimp_text_layer_resize (GimpTextLayer
gdouble width, gdouble width,
gdouble height); gdouble height);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_TEXT_LAYER_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_TEXT_TOOL_PDB_H__
#define __GIMP_TEXT_TOOL_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -48,4 +49,7 @@ gboolean gimp_text_get_extents_font (const gchar *text,
gint *ascent, gint *ascent,
gint *descent); gint *descent);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_TEXT_TOOL_PDB_H__ */

View file

@ -20,12 +20,13 @@
/* NOTE: This file is auto-generated by pdbgen.pl */ /* NOTE: This file is auto-generated by pdbgen.pl */
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef __GIMP_UNIT_PDB_H__
#define __GIMP_UNIT_PDB_H__
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -45,4 +46,7 @@ G_GNUC_INTERNAL gboolean _gimp_unit_get_deletion_flag (GimpUnit *unit);
G_GNUC_INTERNAL gboolean _gimp_unit_set_deletion_flag (GimpUnit *unit, G_GNUC_INTERNAL gboolean _gimp_unit_set_deletion_flag (GimpUnit *unit,
gboolean deletion_flag); gboolean deletion_flag);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_UNIT_PDB_H__ */

View file

@ -19,7 +19,9 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_BASE_PRIVATE_H__
#define __GIMP_BASE_PRIVATE_H__
#include <libgimpbase/gimpcpuaccel-private.h> #include <libgimpbase/gimpcpuaccel-private.h>
#include <libgimpbase/gimpenv-private.h> #include <libgimpbase/gimpenv-private.h>
@ -72,3 +74,5 @@ void gimp_base_exit (void);
void gimp_base_compat_enums_init (void); void gimp_base_compat_enums_init (void);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BASE_PRIVATE_H__ */

View file

@ -16,7 +16,8 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_BASE_H__
#define __GIMP_BASE_H__
#define __GIMP_BASE_H_INSIDE__ #define __GIMP_BASE_H_INSIDE__
@ -41,3 +42,5 @@
#include <libgimpbase/gimpvaluearray.h> #include <libgimpbase/gimpvaluearray.h>
#undef __GIMP_BASE_H_INSIDE__ #undef __GIMP_BASE_H_INSIDE__
#endif /* __GIMP_BASE_H__ */

View file

@ -16,7 +16,8 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_BASE_ENUMS_H__
#define __GIMP_BASE_ENUMS_H__
/** /**
@ -1363,4 +1364,7 @@ typedef enum
GIMP_FILE_CHOOSER_ACTION_CREATE_FOLDER = 3, GIMP_FILE_CHOOSER_ACTION_CREATE_FOLDER = 3,
} GimpFileChooserAction; } GimpFileChooserAction;
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BASE_ENUMS_H__ */

View file

@ -16,7 +16,9 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_BASE_TYPES_H__
#define __GIMP_BASE_TYPES_H__
#include <libgimpcolor/gimpcolortypes.h> #include <libgimpcolor/gimpcolortypes.h>
#include <libgimpmath/gimpmathtypes.h> #include <libgimpmath/gimpmathtypes.h>
@ -102,4 +104,7 @@ void gimp_flags_set_value_descriptions (GType fl
const GimpFlagsDesc *descriptions); const GimpFlagsDesc *descriptions);
const GimpFlagsDesc * gimp_flags_get_value_descriptions (GType flags_type); const GimpFlagsDesc * gimp_flags_get_value_descriptions (GType flags_type);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_BASE_TYPES_H__ */

View file

@ -18,10 +18,15 @@
* <https://www.gnu.org/licenses/>. * <https://www.gnu.org/licenses/>.
*/ */
#pragma once #ifndef __GIMP_CPU_ACCEL_PRIVATE_H__
#define __GIMP_CPU_ACCEL_PRIVATE_H__
G_BEGIN_DECLS G_BEGIN_DECLS
void gimp_cpu_accel_set_use (gboolean use); void gimp_cpu_accel_set_use (gboolean use);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_CPU_ACCEL_PRIVATE_H__ */

View file

@ -23,7 +23,8 @@
#error "Only <libgimpbase/gimpbase.h> can be included directly." #error "Only <libgimpbase/gimpbase.h> can be included directly."
#endif #endif
#pragma once #ifndef __GIMP_UNIT_H__
#define __GIMP_UNIT_H__
G_BEGIN_DECLS G_BEGIN_DECLS
@ -103,3 +104,5 @@ gboolean gimp_param_spec_unit_pixel_allowed (GParamSpec *pspec);
gboolean gimp_param_spec_unit_percent_allowed (GParamSpec *pspec); gboolean gimp_param_spec_unit_percent_allowed (GParamSpec *pspec);
G_END_DECLS G_END_DECLS
#endif /* __GIMP_UNIT_H__ */

View file

@ -780,13 +780,15 @@ LGPL
print HFILE $lgpl_top; print HFILE $lgpl_top;
print HFILE " * $hname\n"; print HFILE " * $hname\n";
print HFILE $lgpl_bottom; print HFILE $lgpl_bottom;
my $guard = "__GIMP_\U$group\E_PDB_H__";
print HFILE <<HEADER; print HFILE <<HEADER;
#pragma once
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly." #error "Only <libgimp/gimp.h> can be included directly."
#endif #endif
#ifndef $guard
#define $guard
G_BEGIN_DECLS G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* For information look into the C source or the html documentation */
@ -794,7 +796,10 @@ G_BEGIN_DECLS
$body $body
G_END_DECLS G_END_DECLS
#endif /* $guard */
HEADER HEADER
close HFILE; close HFILE;
&write_file($hfile, $destdir); &write_file($hfile, $destdir);