mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
21 lines
343 B
C
21 lines
343 B
C
|
/* new.h
|
||
|
|
||
|
Access to operator new() and newhandler()
|
||
|
|
||
|
Copyright (c) 1990, 1992 by Borland International
|
||
|
All Rights Reserved.
|
||
|
*/
|
||
|
|
||
|
#if !defined(__NEW_H)
|
||
|
#define __NEW_H
|
||
|
|
||
|
inline void *operator new(size_t, void *ptr) {
|
||
|
return ptr;
|
||
|
}
|
||
|
//inline void *operator new[] (size_t, void *ptr) {
|
||
|
// return ptr;
|
||
|
//}
|
||
|
|
||
|
#endif /* __NEW_H */
|
||
|
|