ndefs.h

Go to the documentation of this file.
00001 // LICENSE: (Please see the file COPYING for details)
00002 //
00003 // NUS - Nemesis Utilities System: A C++ application development framework 
00004 // Copyright (C) 2006, 2008 Otavio Rodolfo Piske
00005 //
00006 //  This file is part of NUS
00007 //
00008 //  This library is free software; you can redistribute it and/or
00009 //  modify it under the terms of the GNU Lesser General Public
00010 //  License as published by the Free Software Foundation version 2.1
00011 //  of the License.
00012 //
00013 //  This library is distributed in the hope that it will be useful,
00014 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016 //  Lesser General Public License for more details.
00017 //
00018 //  You should have received a copy of the GNU Lesser General Public
00019 //  License along with this library; if not, write to the Free Software
00020 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021 //
00022 #ifndef NDEFS_H
00023 #define NDEFS_H
00024 
00025 
00026 #if defined(NLIB_SHARED) && defined(WIN32)
00027 # define DllDeclSpec __declspec( dllexport )
00028 #else
00029 # if !defined(NLIB_SHARED) && defined(WIN32)
00030 #  define DllDeclSpec __declspec( dllimport )
00031 # else
00032 #  define DllDeclSpec   
00033 # endif // defined(EXAMPLE) && defined(WIN32)
00034 #endif // !defined(NLIB_SHARED) && defined(WIN32)
00035 
00040 #include <cassert>
00041 #include "errdefs.h"
00042 
00043 
00052 #define KB 1024
00053 
00057 #define MB 1024*KB
00058 
00063 typedef unsigned long long int nuint64;
00064 
00069 typedef long long int nint64;
00070 
00075 typedef unsigned int nuint32;
00076 
00081 typedef int nint32;
00082 
00087 typedef unsigned short int nuint16;
00088 
00093 typedef short int nint16;
00094 
00095 #endif // NDEFS_H

Generated on Wed Mar 5 23:10:35 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4