Ignore:
Timestamp:
Jan 3, 2010, 7:13:32 PM (11 years ago)
Author:
rbri
Message:

DJVU plugin: djvulibre updated to version 3.5.22

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/GException.h

    r206 r280  
    5454//C- +------------------------------------------------------------------
    5555//
    56 // $Id: GException.h,v 1.12 2007/03/25 20:48:31 leonb Exp $
    57 // $Name: release_3_5_19 $
     56// $Id: GException.h,v 1.13 2007/12/26 09:05:26 leonb Exp $
     57// $Name: release_3_5_22 $
    5858
    5959#ifndef _GEXCEPTION_H_
     
    119119    Andrei Erofeev <eaf@geocities.com> -- fixed message memory allocation.
    120120    @version
    121     #$Id: GException.h,v 1.12 2007/03/25 20:48:31 leonb Exp $# */
     121    #$Id: GException.h,v 1.13 2007/12/26 09:05:26 leonb Exp $# */
    122122//@{
    123123
     
    163163    only deal with exceptions of type #GException#. */
    164164
    165 class GException {
     165class DJVUAPI GException {
    166166public:
    167167  enum source_type { GINTERNAL=0, GEXTERNAL, GAPPLICATION, GOTHER };
     
    259259// Defined exception macros accordingly.
    260260
    261 class GExceptionHandler {
     261class DJVUAPI GExceptionHandler {
    262262public:
    263263#ifndef NO_LIBGCC_HOOKS
     
    288288// Emulate with setjmp/longjmp.
    289289
    290 class GExceptionHandler {
     290class DJVUAPI GExceptionHandler {
    291291public:
    292292  jmp_buf jump;
     
    325325
    326326
    327 inline void
    328 G_EXTHROW
    329 (const GException &ex,const char *msg=0,const char *file=0,int line=0,
    330   const char *func=0, const GException::source_type source=GException::GINTERNAL)
     327inline void G_EXTHROW(const GException &ex,
     328   const char *msg=0,const char *file=0,int line=0, const char *func=0,
     329   const GException::source_type source=GException::GINTERNAL)
    331330{
    332331  G_EMTHROW( (msg||file||line||func)?
     
    339338}
    340339
    341 inline void
    342 G_EXTHROW
    343 (const char msg[],const char *file=0,int line=0,const char *func=0,
    344   const GException::source_type source=GException::GINTERNAL )
     340inline void G_EXTHROW(const char msg[],
     341   const char *file=0,int line=0,const char *func=0,
     342   const GException::source_type source=GException::GINTERNAL )
    345343{
    346344  G_EMTHROW(GException(msg,file,line,func,source));
Note: See TracChangeset for help on using the changeset viewer.