Commit 2f3f136b authored by Thomas Heller's avatar Thomas Heller

Allocate the 0x1D1A0000 base adress for the _ctypes extension module.

Export the COM entry point functions.

Note that there are several conflicting base addresses defined for
other extensions, also not all are listed in dllbase_nt.txt.
parent 9d548374
...@@ -33,6 +33,7 @@ More standard extensions 1D100000 - 1e000000 ...@@ -33,6 +33,7 @@ More standard extensions 1D100000 - 1e000000
- bZ2 1D170000 - 1D180000 - bZ2 1D170000 - 1D180000
- datetime 1D180000 - 1D190000 pyd removed in 2.4 - datetime 1D180000 - 1D190000 pyd removed in 2.4
- _csv 1D190000 - 1D1A0000 pyd removed in 2.4 - _csv 1D190000 - 1D1A0000 pyd removed in 2.4
- _ctypes 1D1A0000 - 1D1B0000
Other extension modules Other extension modules
- win32api 1e200000 - 1e220000 - win32api 1e200000 - 1e220000
......
...@@ -33,12 +33,14 @@ ...@@ -33,12 +33,14 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
OutputFile="./_ctypes_d.pyd" OutputFile="./_ctypes_d.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_ctypes_d.pdb" ProgramDatabaseFile=".\./_ctypes_d.pdb"
SubSystem="0" SubSystem="0"
BaseAddress="0x1D1A0000"
ImportLibrary=".\./_ctypes_d.lib" ImportLibrary=".\./_ctypes_d.lib"
TargetMachine="1"/> TargetMachine="1"/>
<Tool <Tool
...@@ -85,6 +87,7 @@ ...@@ -85,6 +87,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
OutputFile="./_ctypes.pyd" OutputFile="./_ctypes.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -93,6 +96,7 @@ ...@@ -93,6 +96,7 @@
SubSystem="0" SubSystem="0"
OptimizeReferences="0" OptimizeReferences="0"
EnableCOMDATFolding="0" EnableCOMDATFolding="0"
BaseAddress="0x1D1A0000"
ImportLibrary=".\./_ctypes.lib" ImportLibrary=".\./_ctypes.lib"
TargetMachine="1"/> TargetMachine="1"/>
<Tool <Tool
...@@ -142,7 +146,7 @@ ...@@ -142,7 +146,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
OutputFile="./_ctypes.pyd" OutputFile="./_ctypes.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -151,6 +155,7 @@ ...@@ -151,6 +155,7 @@
SubSystem="0" SubSystem="0"
OptimizeReferences="0" OptimizeReferences="0"
EnableCOMDATFolding="0" EnableCOMDATFolding="0"
BaseAddress="0x1D1A0000"
ImportLibrary=".\./_ctypes.lib" ImportLibrary=".\./_ctypes.lib"
TargetMachine="0"/> TargetMachine="0"/>
<Tool <Tool
...@@ -200,7 +205,7 @@ ...@@ -200,7 +205,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
OutputFile="./_ctypes.pyd" OutputFile="./_ctypes.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -209,6 +214,7 @@ ...@@ -209,6 +214,7 @@
SubSystem="0" SubSystem="0"
OptimizeReferences="0" OptimizeReferences="0"
EnableCOMDATFolding="0" EnableCOMDATFolding="0"
BaseAddress="0x1D1A0000"
ImportLibrary=".\./_ctypes.lib" ImportLibrary=".\./_ctypes.lib"
TargetMachine="0"/> TargetMachine="0"/>
<Tool <Tool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment