RList
|
00001 /* 00002 * Copyright (c) 2011, Stefan Götz <stefan.goetz@web.de> 00003 * 00004 * Permission to use, copy, modify, and/or distribute this software for any 00005 * purpose with or without fee is hereby granted, provided that the above 00006 * copyright notice and this permission notice appear in all copies. 00007 * 00008 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 00009 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 00010 * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 00011 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 00012 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00013 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00014 * PERFORMANCE OF THIS SOFTWARE. 00015 */ 00016 00022 #undef C_DECLARATIONS_START 00023 #undef C_DECLARATIONS_END 00024 #ifdef __cplusplus 00025 00029 #define C_DECLARATIONS_START extern "C" { 00030 00033 #define C_DECLARATIONS_END } 00034 #else 00035 #define C_DECLARATIONS_START 00036 #define C_DECLARATIONS_END 00037 #endif 00038 00039 #undef ARGS 00040 #if defined (__STDC__) || defined (_AIX) || defined (__mips) || defined (_SYSTYPE_SVR4) || defined (WIN32) || defined (__cplusplus) || defined (DOXYGEN) 00041 00047 #define ARGS(args) args 00048 #else 00049 #define ARGS(args) () 00050 #endif