diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2015-11-19 22:31:13 +0100 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2015-11-19 22:31:13 +0100 |
commit | b0b0cf41dd03bcb2c46138491265a96922c2177d (patch) | |
tree | 1d8a12b687a1c598e5fd5354b178ae32d9f03784 /src/gc/handletablepriv.h | |
parent | d43234803dedafc7b34273ce76b1c7207065c216 (diff) | |
download | coreclr-b0b0cf41dd03bcb2c46138491265a96922c2177d.tar.gz coreclr-b0b0cf41dd03bcb2c46138491265a96922c2177d.tar.bz2 coreclr-b0b0cf41dd03bcb2c46138491265a96922c2177d.zip |
Replaced remaining types
LPARAM, SSIZE_T
Diffstat (limited to 'src/gc/handletablepriv.h')
-rw-r--r-- | src/gc/handletablepriv.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gc/handletablepriv.h b/src/gc/handletablepriv.h index 2740c5bd7d..98b0e5c68d 100644 --- a/src/gc/handletablepriv.h +++ b/src/gc/handletablepriv.h @@ -273,7 +273,7 @@ struct _TableSegmentHeader }; typedef DPTR(struct _TableSegmentHeader) PTR__TableSegmentHeader; -typedef DPTR(LPARAM) PTR_LPARAM; +typedef DPTR(uintptr_t) PTR_uintptr_t; // The handle table is large and may not be entirely mapped. That's one reason for splitting out the table // segment and the header as two separate classes. In DAC builds, we generally need only a single element from @@ -365,8 +365,8 @@ struct ScanCallbackInfo uint32_t uFlags; // HNDGCF_* flags BOOL fEnumUserData; // whether user data is being enumerated as well HANDLESCANPROC pfnScan; // per-handle scan callback - LPARAM param1; // callback param 1 - LPARAM param2; // callback param 2 + uintptr_t param1; // callback param 1 + uintptr_t param2; // callback param 2 uint32_t dwAgeMask; // generation mask for ephemeral GCs #ifdef _DEBUG @@ -686,7 +686,7 @@ __inline void BlockUnlock(TableSegment *pSegment, uint32_t uBlock) * Gets the user data pointer for the first handle in a block. * */ -PTR_LPARAM BlockFetchUserDataPointer(PTR__TableSegmentHeader pSegment, uint32_t uBlock, BOOL fAssertOnError); +PTR_uintptr_t BlockFetchUserDataPointer(PTR__TableSegmentHeader pSegment, uint32_t uBlock, BOOL fAssertOnError); /* @@ -696,7 +696,7 @@ PTR_LPARAM BlockFetchUserDataPointer(PTR__TableSegmentHeader pSegment, uint32_t * ASSERTs and returns NULL if handle is not of the expected type. * */ -LPARAM *HandleValidateAndFetchUserDataPointer(OBJECTHANDLE handle, uint32_t uTypeExpected); +uintptr_t *HandleValidateAndFetchUserDataPointer(OBJECTHANDLE handle, uint32_t uTypeExpected); /* @@ -706,7 +706,7 @@ LPARAM *HandleValidateAndFetchUserDataPointer(OBJECTHANDLE handle, uint32_t uTyp * Less validation is performed. * */ -PTR_LPARAM HandleQuickFetchUserDataPointer(OBJECTHANDLE handle); +PTR_uintptr_t HandleQuickFetchUserDataPointer(OBJECTHANDLE handle); /* @@ -716,7 +716,7 @@ PTR_LPARAM HandleQuickFetchUserDataPointer(OBJECTHANDLE handle); * Less validation is performed. * */ -void HandleQuickSetUserData(OBJECTHANDLE handle, LPARAM lUserData); +void HandleQuickSetUserData(OBJECTHANDLE handle, uintptr_t lUserData); /* |