"Fossies" - the Fresh Open Source Software Archive

Member "ne-3.2.1/src/debug.h" (30 Sep 2019, 930 Bytes) of package /linux/misc/ne-3.2.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "debug.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 3.1.1_vs_3.1.2.

    1 /* Definition for debug statements and assertions.
    2 
    3     Copyright (C) 1993-1998 Sebastiano Vigna 
    4     Copyright (C) 1999-2019 Todd M. Lewis and Sebastiano Vigna
    5 
    6     This file is part of ne, the nice editor.
    7 
    8     This library is free software; you can redistribute it and/or modify it
    9     under the terms of the GNU General Public License as published by
   10     the Free Software Foundation; either version 3 of the License, or (at your
   11     option) any later version.
   12 
   13     This library is distributed in the hope that it will be useful, but
   14     WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   15     or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   16     for more details.
   17 
   18     You should have received a copy of the GNU General Public License
   19     along with this program; if not, see <http://www.gnu.org/licenses/>.  */
   20 
   21 
   22 #include <stdlib.h>
   23 #include <assert.h>
   24 
   25 #ifdef DEBUGPRINTF
   26 #define D(x) x
   27 #else
   28 #define D(x) ;
   29 #endif