From f117d871c467e82d98b127fd77d2542600d67c39 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Wed, 10 Jul 2019 18:27:38 +0200 Subject: [PATCH] Rename memory.c to mpalloc.c for consistency with the header file. (#14687) --- Modules/_decimal/libmpdec/README.txt | 2 +- Modules/_decimal/libmpdec/{memory.c => mpalloc.c} | 0 PCbuild/_decimal.vcxproj | 2 +- PCbuild/_decimal.vcxproj.filters | 2 +- setup.py | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename Modules/_decimal/libmpdec/{memory.c => mpalloc.c} (100%) diff --git a/Modules/_decimal/libmpdec/README.txt b/Modules/_decimal/libmpdec/README.txt index 4e0e4f30be..dc97820a6e 100644 --- a/Modules/_decimal/libmpdec/README.txt +++ b/Modules/_decimal/libmpdec/README.txt @@ -20,7 +20,7 @@ Files required for the Python _decimal module context.c -> Context functions. io.{c,h} -> Conversions between mpd_t and ASCII strings, mpd_t formatting (allows UTF-8 fill character). - memory.{c,h} -> Allocation handlers with overflow detection + mpalloc.{c,h} -> Allocation handlers with overflow detection and functions for switching between static and dynamic mpd_t. mpdecimal.{c,h} -> All (quiet) functions of the specification. diff --git a/Modules/_decimal/libmpdec/memory.c b/Modules/_decimal/libmpdec/mpalloc.c similarity index 100% rename from Modules/_decimal/libmpdec/memory.c rename to Modules/_decimal/libmpdec/mpalloc.c diff --git a/PCbuild/_decimal.vcxproj b/PCbuild/_decimal.vcxproj index 465a7ade9a..f0f387f3bf 100644 --- a/PCbuild/_decimal.vcxproj +++ b/PCbuild/_decimal.vcxproj @@ -131,7 +131,7 @@ - + diff --git a/PCbuild/_decimal.vcxproj.filters b/PCbuild/_decimal.vcxproj.filters index 7e19aa2f65..1aa9d020d6 100644 --- a/PCbuild/_decimal.vcxproj.filters +++ b/PCbuild/_decimal.vcxproj.filters @@ -92,7 +92,7 @@ Source Files - + Source Files diff --git a/setup.py b/setup.py index e54d31f533..3ec89cedfd 100644 --- a/setup.py +++ b/setup.py @@ -2095,7 +2095,7 @@ class PyBuildExt(build_ext): '_decimal/libmpdec/fnt.c', '_decimal/libmpdec/fourstep.c', '_decimal/libmpdec/io.c', - '_decimal/libmpdec/memory.c', + '_decimal/libmpdec/mpalloc.c', '_decimal/libmpdec/mpdecimal.c', '_decimal/libmpdec/numbertheory.c', '_decimal/libmpdec/sixstep.c', -- 2.49.0