diff options
author | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
---|---|---|
committer | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
commit | c6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch) | |
tree | 1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/libs/xpdf/xpdf-src/goo/gmempp.cc | |
parent | 07ee7222e389b0777456b427a55c22d0e6ffd267 (diff) |
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/goo/gmempp.cc')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/goo/gmempp.cc | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/goo/gmempp.cc b/Build/source/libs/xpdf/xpdf-src/goo/gmempp.cc deleted file mode 100644 index fe5790b1f58..00000000000 --- a/Build/source/libs/xpdf/xpdf-src/goo/gmempp.cc +++ /dev/null @@ -1,51 +0,0 @@ -//======================================================================== -// -// gmempp.cc -// -// Use gmalloc/gfree for C++ new/delete operators. -// -// Copyright 1996-2003 Glyph & Cog, LLC -// -//======================================================================== - -#include <aconf.h> -#include "gmem.h" -// NB: do not include gmempp.h here. - -#ifdef DEBUG_MEM - -void *operator new(size_t size) { - return gmalloc((int)size, 1); -} - -void *operator new(size_t size, int dummy) { - return gmalloc((int)size, 0); -} - -void *operator new[](size_t size) { - return gmalloc((int)size, 1); -} - -void *operator new[](size_t size, int dummy) { - return gmalloc((int)size, 0); -} - -void operator delete(void *p) { - gfree(p); -} - -// This is only called if a constructor throws an exception. -void operator delete(void *p, int dummy) { - gfree(p); -} - -void operator delete[](void *p) { - gfree(p); -} - -// This is only called if a constructor throws an exception. -void operator delete[](void *p, int dummy) { - gfree(p); -} - -#endif |