AtxDefs.h

Go to the documentation of this file.
00001 /*****************************************************************
00002 |
00003 |   Atomix - Common Definitions
00004 |
00005 |   (c) 2002-2006 Gilles Boccon-Gibod
00006 |   Author: Gilles Boccon-Gibod (bok@bok.net)
00007 |
00008  ****************************************************************/
00013 #ifndef _ATX_DEFS_H_
00014 #define _ATX_DEFS_H_
00015 
00016 /*----------------------------------------------------------------------
00017 |   constants
00018 +---------------------------------------------------------------------*/
00019 #ifndef __cplusplus
00020 #ifndef NULL
00021 #define NULL ((void*)0)
00022 #endif
00023 #endif /* __cplusplus */
00024 
00025 /*----------------------------------------------------------------------
00026 |   calling conventions
00027 +---------------------------------------------------------------------*/
00028 #define ATX_PROCEDURE ATX_Result
00029 #define ATX_EXPORTED_PROCEDURE ATX_Result
00030 
00034 #define ATX_METHOD static ATX_Result
00035 
00036 #define ATX_DIRECT_METHOD ATX_Result
00037 #define ATX_VOID_METHOD static void 
00038 #define ATX_EXPORTED_METHOD ATX_Result
00039 
00040 #endif /* _ATX_DEFS_H_ */