source: zzuf/trunk/src/libzzuf/debug.h @ 4112

Last change on this file since 4112 was 4112, checked in by sam, 5 years ago

Reorganise source code to better separate zzuf and libzzuf. Note: the Win32
build is now broken.

  • Property svn:keywords set to Id
File size: 823 bytes
Line 
1/*
2 *  zzuf - general purpose fuzzer
3 *  Copyright (c) 2006-2009 Sam Hocevar <sam@hocevar.net>
4 *                All Rights Reserved
5 *
6 *  $Id: debug.h 4112 2009-12-12 22:19:47Z sam $
7 *
8 *  This program is free software. It comes without any warranty, to
9 *  the extent permitted by applicable law. You can redistribute it
10 *  and/or modify it under the terms of the Do What The Fuck You Want
11 *  To Public License, Version 2, as published by Sam Hocevar. See
12 *  http://sam.zoy.org/wtfpl/COPYING for more details.
13 */
14
15/*
16 *  debug.h: debugging support
17 */
18
19extern void _zz_debug(const char *format, ...) ATTRIBUTE_PRINTF(1,2);
20extern void _zz_debug2(const char *format, ...) ATTRIBUTE_PRINTF(1,2);
21
22#ifdef LIBZZUF
23#   define debug _zz_debug
24#   define debug2 _zz_debug2
25#else
26#   define debug(...) do {} while(0)
27#   define debug2(...) do {} while(0)
28#endif
29
Note: See TracBrowser for help on using the repository browser.