SquidNew.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 /* DEBUG: none Memory Allocation */
10 
11 #include "squid.h"
12 
13 #if !defined(__clang__) && !defined(__SUNPRO_CC)
14 
15 #include <new>
16 
17 void *operator new(size_t size)
18 {
19  return xmalloc(size);
20 }
21 void operator delete(void *address)
22 {
23  xfree(address);
24 }
25 
26 #endif /* !defined(__clang__) */
27 
#define xmalloc
#define xfree
int size
Definition: ModDevPoll.cc:77

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors