BltDefs.h

Go to the documentation of this file.
00001 /*****************************************************************
00002 |
00003 |   BlueTune - Common Definitions
00004 |
00005 |   (c) 2002-2006 Gilles Boccon-Gibod
00006 |   Author: Gilles Boccon-Gibod (bok@bok.net)
00007 |
00008  ****************************************************************/
00013 #ifndef _BLT_DEFS_H_
00014 #define _BLT_DEFS_H_
00015 
00016 /*----------------------------------------------------------------------
00017 |   constants
00018 +---------------------------------------------------------------------*/
00019 #ifndef NULL
00020 #define NULL ((void*)0)
00021 #endif
00022 
00023 /*----------------------------------------------------------------------
00024 |   macros
00025 +---------------------------------------------------------------------*/
00026 #define BLT_SAFE_STRING(s) ((s) == NULL ? "" : s)
00027 
00028 /*----------------------------------------------------------------------
00029 |   import some Atomix definitions
00030 +---------------------------------------------------------------------*/
00031 #define BLT_METHOD        ATX_METHOD
00032 #define BLT_VOID_METHOD   ATX_VOID_METHOD
00033 #define BLT_DIRECT_METHOD ATX_DIRECT_METHOD
00034 #define BLT_TRUE          ATX_TRUE
00035 #define BLT_FALSE         ATX_FALSE
00036 
00037 #endif /* _BLT_DEFS_H_ */