]> 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:28:26 +0000 (10:28 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 17:28:26 +0000 (10:28 -0700)
commit95cfb818eaffba41333d4bc93253f4e0c6237ca8
tree315741d14893d265295e103e49198f4794150c17
parentbb1876acd815a05744cea4a7d4098231ef499e52
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