8000 bpo-41111: Move the Py_LIMITED_API macro of xxlimited module from setup.py to xxlimited.c. by shihai1991 · Pull Request #25115 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-41111: Move the Py_LIMITED_API macro of xxlimited module from setup.py to xxlimited.c. #25115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge remote-tracking branch 'origin/master' into bpo_41111
  • Loading branch information
shihai1991 committed Apr 1, 2021
commit 7c8106dd97156e6acea26a2f32eb2481a4d40014
2 changes: 1 addition & 1 deletion Modules/xxlimited.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

/* xxlimited with the limited API. */
#ifdef WITH_Py_LIMITED_API
# define Py_LIMITED_API 0x03100000
# define Py_LIMITED_API 0x030a0000
#endif
#include "Python.h"

Expand Down
2 changes: 1 addition & 1 deletion PCbuild/xxlimited.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x030A0000</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WITH_Py_LIMITED_API=1</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
Expand Down
2 changes: 1 addition & 1 deletion PCbuild/xxlimited_35.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x03060000</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WITH_Py_LIMITED_API=1</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0