◐ Shell
clean mode source ↗

[3.6] bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) by miss-islington · Pull Request #10134 · python/cpython

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 3b1cba3)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue35059