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

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 cf0b892 was e464759, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

Abortf is not a proper C linkage function

  • Property mode set to 100644
File size: 821 bytes
RevLine 
[78b3f52]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 : Thierry Delisle
12// Last Modified On : Mon Nov 28 12:27:26 2016
13// Update Count     : 0
14//
15
16#ifndef __LIB_TOOLS_H__
17#define __LIB_TOOLS_H__
18
19// void abortf( const char *fmt, ... ) {
20//     abort();
21//     // CONTROL NEVER REACHES HERE!
22// } // libAbort
23
[e464759]24#ifdef __cforall
25extern "C" {
26#endif
27void abortf( const char fmt[], ... ) __attribute__ ((__nothrow__, __leaf__, __noreturn__));
28#ifdef __cforall
29}
30#endif
[78b3f52]31
32#endif //__LIB_TOOLS_H__
33
34// Local Variables: //
35// mode: c //
36// tab-width: 4 //
37// End: //
Note: See TracBrowser for help on using the repository browser.