Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2017-11-03 19:12:39 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2017-11-03 19:12:39 +0300
commit31b20c5d8f3194183bd66632facf00824bddfde9 (patch)
treede41c0c4397c4418e124cd8e6b409ace6648ef7a /src/Native/Runtime/module.h
parent2c6a095c32a912a5ae17b1aba123cb7cd96a3977 (diff)
ProjectX: New GetOsModuleHandle API to ICodeManager
The new GetOsModuleHandle API is used by the StackTraceMetadata code in both ProjectN and ProjectX. [tfs-changeset: 1680143]
Diffstat (limited to 'src/Native/Runtime/module.h')
-rw-r--r--src/Native/Runtime/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/module.h b/src/Native/Runtime/module.h
index f1a48b2a8..6368633ce 100644
--- a/src/Native/Runtime/module.h
+++ b/src/Native/Runtime/module.h
@@ -102,7 +102,7 @@ public:
PTR_ModuleHeader GetModuleHeader();
- HANDLE GetOsModuleHandle();
+ PTR_VOID GetOsModuleHandle();
BlobHeader * GetReadOnlyBlobs(UInt32 * pcbBlobs);
@@ -119,7 +119,7 @@ private:
Module(ModuleHeader * pModuleHeader);
#ifdef FEATURE_CUSTOM_IMPORTS
static void DoCustomImports(ModuleHeader * pModuleHeader);
- PTR_UInt8 GetBaseAddress() { return (PTR_UInt8)(size_t)GetOsModuleHandle(); }
+ PTR_UInt8 GetBaseAddress() { return (PTR_UInt8)GetOsModuleHandle(); }
#endif // FEATURE_CUSTOM_IMPORTS