diff options
author | Roger Leigh <rleigh@debian.org> | 2012-06-21 23:30:20 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2012-06-21 23:30:20 +0100 |
commit | 3514df18b289ec827cb6e4c446419feab1813231 (patch) | |
tree | 0fe6a3d1afbe720aac197918c6f4fb3583b240e1 /src/main/gutenprint-internal.h | |
parent | 15578e218035547ca17e25ef351fbe56bc55a4ae (diff) |
Imported Upstream version 5.2.8
Diffstat (limited to 'src/main/gutenprint-internal.h')
-rw-r--r-- | src/main/gutenprint-internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/gutenprint-internal.h b/src/main/gutenprint-internal.h index 65fd10c..0fa17b4 100644 --- a/src/main/gutenprint-internal.h +++ b/src/main/gutenprint-internal.h @@ -1,5 +1,5 @@ /* - * "$Id: gutenprint-internal.h,v 1.3 2010/08/04 00:33:56 rlk Exp $" + * "$Id: gutenprint-internal.h,v 1.5 2011/06/12 00:31:51 rlk Exp $" * * Print plug-in header file for the GIMP. * @@ -53,6 +53,7 @@ extern "C" { extern void stpi_init_paper(void); extern void stpi_init_dither(void); extern void stpi_init_printer(void); +extern void stpi_vars_print_error(const stp_vars_t *v, const char *prefix); #define BUFFER_FLAG_FLIP_X 0x1 #define BUFFER_FLAG_FLIP_Y 0x2 extern stp_image_t* stpi_buffer_image(stp_image_t* image, unsigned int flags); @@ -68,6 +69,7 @@ do \ stp_erprintf("\nERROR: ***Gutenprint %s assertion %s failed!" \ " file %s, line %d. %s\n", PACKAGE_VERSION, \ #x, __FILE__, __LINE__, "Please report this bug!"); \ + if ((v)) stpi_vars_print_error((v), "ERROR"); \ stp_abort(); \ } \ } while (0) @@ -81,5 +83,5 @@ do \ #endif /* GUTENPRINT_INTERNAL_INTERNAL_H */ /* - * End of "$Id: gutenprint-internal.h,v 1.3 2010/08/04 00:33:56 rlk Exp $". + * End of "$Id: gutenprint-internal.h,v 1.5 2011/06/12 00:31:51 rlk Exp $". */ |