ctrump/common/abort.h File Reference

異常終了処理 More...

#include <stdlib.h>
#include "ctrump/common/dll.h"

Include dependency graph for abort.h:

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

Go to the source code of this file.

Defines

#define ctrump_internal_error(mes)
 Internal Error.
#define ctrump_fixme(mes)
 あとで修正しようと思っているところ
#define ctrump_unreachable(mes)
 到達してはいけないフロー

Enumerations

enum  { CTRUMP_ABORT_INTERNARL_ERROR, CTRUMP_ABORT_FIXME, CTRUMP_ABORT_UNREACHABLE }

Functions

CTRUMP_EXTDEF void ctrump_abort_message (const char *file, int line, int what, const char *message)
 メッセージを表示してabort


Detailed Description

異常終了処理

Definition in file abort.h.


Define Documentation

#define ctrump_fixme ( mes   ) 

#define ctrump_internal_error ( mes   ) 

Value:

ctrump_abort_message(__FILE__, __LINE__,                    \
                         CTRUMP_ABORT_INTERNARL_ERROR, mes);    \
    abort();
Internal Error.

Definition at line 59 of file abort.h.

#define ctrump_unreachable ( mes   ) 


Enumeration Type Documentation

anonymous enum

Enumerator:
CTRUMP_ABORT_INTERNARL_ERROR 
CTRUMP_ABORT_FIXME 
CTRUMP_ABORT_UNREACHABLE 

Definition at line 45 of file abort.h.


Function Documentation

CTRUMP_EXTDEF void ctrump_abort_message ( const char *  file,
int  line,
int  what,
const char *  message 
)

メッセージを表示してabort

Definition at line 39 of file abort.c.

References CTRUMP_ABORT_FIXME, CTRUMP_ABORT_INTERNARL_ERROR, and CTRUMP_ABORT_UNREACHABLE.


Generated on Tue Mar 31 20:19:24 2009 for ctrump by  doxygen 1.5.6