Amesos Package Browser (Single Doxygen Collection) Development
amesos_btf_internal.h
Go to the documentation of this file.
00001 /* ========================================================================== */
00002 /* === btf_internal include file ============================================ */
00003 /* ========================================================================== */
00004 
00005 #ifndef AMESOS_BTF_INTERNAL_H
00006 #define AMESOS_BTF_INTERNAL_H
00007 
00008 /*
00009  * Copyright (c) 2004-2007.  Tim Davis, University of Florida,
00010  * with support from Sandia National Laboratories.  All Rights Reserved.
00011  */
00012 
00013 /* Not to be included in any user program. */
00014 
00015 #ifdef DLONG
00016 #define Int UF_long
00017 #define Int_id UF_long_id
00018 #define BTF(name) amesos_btf_l_ ## name
00019 #else
00020 #define Int int
00021 #define Int_id "%d"
00022 #define BTF(name) amesos_btf_ ## name
00023 #endif
00024 
00025 /* ========================================================================== */
00026 /* make sure debugging and printing is turned off */
00027 
00028 #ifndef NDEBUG
00029 #define NDEBUG
00030 #endif
00031 #ifndef NPRINT
00032 #define NPRINT
00033 #endif
00034 
00035 /* To enable debugging and assertions, uncomment this line: 
00036  #undef NDEBUG
00037 */
00038 /* To enable diagnostic printing, uncomment this line: 
00039  #undef NPRINT
00040 */
00041 
00042 /* ========================================================================== */
00043 
00044 #include <stdio.h>
00045 #include <assert.h>
00046 #define ASSERT(a) assert(a)
00047 
00048 #undef TRUE
00049 #undef FALSE
00050 #undef PRINTF
00051 #undef MIN
00052 
00053 #ifndef NPRINT
00054 #define PRINTF(s) { printf s ; } ;
00055 #else
00056 #define PRINTF(s)
00057 #endif
00058 
00059 #define TRUE 1
00060 #define FALSE 0
00061 #define EMPTY (-1)
00062 #define MIN(a,b) (((a) < (b)) ?  (a) : (b))
00063 
00064 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines