3 Copyright 2009 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
15 #error This header should not be included by C source files.
18 /* Files including this header must override -nostdinc++ */
21 /* This is an optional struct pointed to by per_process if it exists. */
22 struct per_process_cxx_malloc
24 void *(*oper_new) (std::size_t);
25 void *(*oper_new__) (std::size_t);
26 void (*oper_delete) (void *);
27 void (*oper_delete__) (void *);
28 void *(*oper_new_nt) (std::size_t, const std::nothrow_t &);
29 void *(*oper_new___nt) (std::size_t, const std::nothrow_t &);
30 void (*oper_delete_nt) (void *, const std::nothrow_t &);
31 void (*oper_delete___nt) (void *, const std::nothrow_t &);
34 /* Defined in cxx.cc */
35 extern struct per_process_cxx_malloc default_cygwin_cxx_malloc;
37 #endif /* _CYGWIN_CXX_H */