Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/pcburns/c/penguinsound/include/PenguinSound/debug.h File Reference

Debugging macros & functions included by PenguinPlay.h - please do not include directly. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define PP_FUNCTION_NAME   "Unknown Function"
#define ppEvilTrick(FunctionName)
#define ppFatalError   ppEvilTrick(_ppFatalError)
#define ppInternalError   _ppPrintfStyleStub
#define ppWarning   _ppPrintfStyleStub
#define ppError   _ppPrintfStyleStub
#define ppAssert(expr)
#define ppAssertArg(expr)
#define ppThrow(XCept, details)
#define ppDebug1   _ppPrintfStyleStub
#define ppDebug   _ppPrintfStyleStub
#define ppDebugExtra   _ppPrintfStyleStub
#define ppDebug2   _ppPrintfStyleStub
#define ppDebug3   _ppPrintfStyleStub
#define ppDebug4   _ppPrintfStyleStub
#define ppDebug5   _ppPrintfStyleStub
#define PP_ERROR_INTERNAL   ppInternalEror ("Unknown internal PenguinPlay error")
#define PP_WARN_NEW_FAIL   ppWarning ("Out of memory")
#define PP_WARN_INVALID_ARG   ppWarning ("Invalid argument")
#define PP_WARN_INVALID_PATH   ppWarning ("Invalid path")
#define PP_WARN_INVALID_FILE   ppWarning ("Non-existant file specified in path")
#define PP_WARN_INVALID_DIR   ppWarning ("Non-existant directory specified in path")
#define PP_WARN_INVALID_FS   ppWarning ("Invalid file-system specifier")
#define PP_WARN_NO_CONSTRUCT   ppWarning ("Object could not be constructed")
#define PP_WARN_NO_COMPONENT_INIT   ppWarning ("Could not initialise component")

Functions

PP_EXTC int* _pp_db_lineno_loc (void)
 line no of last debug message.

PP_EXTC const char** _pp_db_file_loc (void)
 filename of last debug message.

PP_EXTC const char** _pp_db_func_loc (void)
 function of last debug message.

PP_EXTC void _ppPrintfStyleStub (const char *msg, ...) PP_PRINTF_STYLE(1,2)
 Stub to avoid some warnings on non-GNU compilers.

PP_EXTC void _ppFatalError (const char* msg, ...) PP_PRINTF_STYLE(1,2)
 Always evaluated.


Detailed Description

Debugging macros & functions included by PenguinPlay.h - please do not include directly.

Project : PenguinPlay Part : Generic Authors : Christian Reiniger <warewolf@mayn.de> Adrian Ratnapala <raka@mailhost.bit.net.au> License : See the accompanying file LICENSE

Last change by

Author:
pcburns
on
Date:
2000/11/26 00:33:57
to
Revision:
1.1.1.1


Define Documentation

#define ppEvilTrick( FunctionName )
 

Initializer:

(\
       *_pp_db_lineno_loc()=__LINE__,\
       *_pp_db_file_loc()=__FILE__,\
       *_pp_db_func_loc()=PP_FUNCTION_NAME,\
       FunctionName \
   )

#define ppThrow( XCept, details )
 

Initializer:

(\
    throw (XCept (PP_FUNCTION_NAME, details)) \
  )


Generated at Mon Nov 27 01:46:24 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000