source: src/libcfa/libhdr/libtools.h @ ff7ff14a

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 ff7ff14a was 6b0b624, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

change #ifndef to #pragma once

  • Property mode set to 100644
File size: 758 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// ools.h --
8//
9// Author           : Thierry Delisle
10// Created On       : Mon Nov 28 12:27:26 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 10:02:10 2017
13// Update Count     : 1
14//
15
16#pragma once
17
18// void abortf( const char *fmt, ... ) {
19//     abort();
20//     // CONTROL NEVER REACHES HERE!
21// } // libAbort
22
23#ifdef __cforall
24extern "C" {
25#endif
26void abortf( const char fmt[], ... ) __attribute__ ((__nothrow__, __leaf__, __noreturn__));
27#ifdef __cforall
28}
29#endif
30
31// Local Variables: //
32// mode: c //
33// tab-width: 4 //
34// End: //
Note: See TracBrowser for help on using the repository browser.