source: src/libcfa/stdhdr/stddef.h@ c2b9f21

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since c2b9f21 was cdbfab0, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

Remove unsafe void * constructors and assignment operators from prelude [closes #24] [fixes #51]

  • Property mode set to 100644
File size: 752 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// stddef.h --
8//
9// Author : Peter A. Buhr
10// Created On : Mon Jul 4 23:25:26 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Tue Jul 5 20:40:01 2016
13// Update Count : 12
14//
15
16extern "C" {
17#include_next <stddef.h> // has internal check for multiple expansion
18#undef NULL
19#define NULL 0 // define NULL as 0 rather than (void*)0 to take advantage of zero_t
20} // extern "C"
21
22// Local Variables: //
23// tab-width: 4 //
24// mode: c++ //
25// compile-command: "make install" //
26// End: //
Note: See TracBrowser for help on using the repository browser.