/*
    AUTOMATICALLY GENERATED BY tspec 2.8
    API SUBSET: cpp:new (VERSION 1.1)
*/

#ifndef __TDF_CPP_NEW
#define __TDF_CPP_NEW

extern "C++" {

#pragma TenDRA declaration block api__cpp__new begin

#ifndef __TDF_CPP_CSTDLIB
#pragma extend interface "../cpp.api/cstdlib"
#endif /* __TDF_CPP_CSTDLIB */
#ifndef __TDF_CPP_EXCEPTION
#pragma extend interface "../cpp.api/exception"
#endif /* __TDF_CPP_EXCEPTION */
#ifndef __TDF_CPP_NEW_BAD_ALLOC
#pragma extend interface "../shared/cpp.api/bad_allo.h"
#endif /* __TDF_CPP_NEW_BAD_ALLOC */
// STANDARD ALLOCATION OPERATORS
void *operator new ( std::size_t ) throw ( std::bad_alloc ) ;
void *operator new [] ( std::size_t ) throw ( std::bad_alloc ) ;
void operator delete ( void * ) throw () ;
void operator delete [] ( void * ) throw () ;

// NO-EXCEPTION ALLOCATION OPERATORS
void *operator new ( std::size_t, const std::nothrow_t & ) throw () ;
void *operator new [] ( std::size_t, const std::nothrow_t & ) throw () ;
void operator delete ( void *, const std::nothrow_t & ) throw () ;
void operator delete [] ( void *, const std::nothrow_t & ) throw () ;

// PLACEMENT ALLOCATION OPERATORS
inline void *operator new ( std::size_t, void *p ) throw () { return ( p ) ; }
inline void *operator new [] ( std::size_t, void *p ) throw () { return ( p ) ; }
inline void operator delete ( void *, void * ) throw () { return ; }
inline void operator delete [] ( void *, void * ) throw () { return ; }

#pragma TenDRA declaration block end

}

#endif /* __TDF_CPP_NEW */
