source: src/libcfa/libhdr/libdebug.h @ 59239b8

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 59239b8 was d9c44c3, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Implemented coroutine for i386 and added coroutines to tests

  • Property mode set to 100644
File size: 1008 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// libdebug.h --
8//
9// Author           : Thierry Delisle
10// Created On       : Mon Nov 28 12:27:26 2016
11// Last Modified By : Thierry Delisle
12// Last Modified On : Mon Nov 28 12:27:26 2016
13// Update Count     : 0
14//
15
16#ifndef __LIB_DEBUG_H__
17#define __LIB_DEBUG_H__
18
19#ifdef __CFA_DEBUG__
20      #define LIB_DEBUG_DO(x) x
21      #define LIB_NO_DEBUG_DO(x) ((void)0)
22#else
23      #define LIB_DEBUG_DO(x) ((void)0)
24      #define LIB_NO_DEBUG_DO(x) x     
25#endif
26
27#ifdef __CFA_DEBUG_PRINT__
28      #define LIB_DEBUG_PRINTF(...)   printf (__VA_ARGS__)
29      #define LIB_DEBUG_FPRINTF(...) fprintf (stderr, __VA_ARGS__)
30#else
31      #define LIB_DEBUG_PRINTF(...)  ((void)0)
32      #define LIB_DEBUG_FPRINTF(...) ((void)0)
33#endif
34
35#endif //__LIB_DEBUG_H__
36
37// Local Variables: //
38// mode: c //
39// tab-width: 4 //
40// End: //
Note: See TracBrowser for help on using the repository browser.