]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 26 Oct 2018 17:30:29 +0000 (10:30 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 17:30:29 +0000 (10:30 -0700)
commit7eac88afd2e39d05a0ed3bc8c0787a2e755a6072
tree0dffbad4a1cad7b49d664e872490d7002331193c
parent8be1c043a6d10d375f7a73c681cb2d7ec2f2d361
bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128)

Declare functions with EXTINLINE:

* mpd_del()
* mpd_uint_zero()
* mpd_qresize()
* mpd_qresize_zero()
* mpd_minalloc()

These functions are implemented with "inline" or "ALWAYS_INLINE", but
declared without inline which cause linker error on Visual Studio in
Debug mode when using /Ob1.
(cherry picked from commit 3b1cba3701fd1321a9bdafa9e683f891369f0cfd)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Modules/_decimal/libmpdec/mpdecimal.h