diff options
author | Adeel Mujahid <adeelbm@outlook.com> | 2019-02-09 03:24:59 +0200 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2019-02-09 02:24:59 +0100 |
commit | 5bb7eb68035e98e356aba68115e28ed22d3d34aa (patch) | |
tree | 6a2ce545da5c8c32591910ffcb2fe86186894c22 /src/palrt | |
parent | 8e79024b436f348ea9f96487a6d54067e750f596 (diff) | |
download | coreclr-5bb7eb68035e98e356aba68115e28ed22d3d34aa.tar.gz coreclr-5bb7eb68035e98e356aba68115e28ed22d3d34aa.tar.bz2 coreclr-5bb7eb68035e98e356aba68115e28ed22d3d34aa.zip |
Set visibility option to hidden (#21924)
Diffstat (limited to 'src/palrt')
-rw-r--r-- | src/palrt/bstr.cpp | 6 | ||||
-rw-r--r-- | src/palrt/comem.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/palrt/bstr.cpp b/src/palrt/bstr.cpp index ae22b15a10..8b3cc36620 100644 --- a/src/palrt/bstr.cpp +++ b/src/palrt/bstr.cpp @@ -71,7 +71,7 @@ inline HRESULT CbSysStringSize(ULONG cchSize, BOOL isByteLen, ULONG *result) * return value = BSTR, NULL if the allocation failed. * ***********************************************************************/ -STDAPI_(BSTR) SysAllocStringLen(const OLECHAR *psz, UINT len) +DLLEXPORT STDAPI_(BSTR) SysAllocStringLen(const OLECHAR *psz, UINT len) { BSTR bstr; @@ -168,7 +168,7 @@ SysAllocStringByteLen(const char FAR* psz, unsigned int len) * None * ***********************************************************************/ -STDAPI_(void) SysFreeString(BSTR bstr) +DLLEXPORT STDAPI_(void) SysFreeString(BSTR bstr) { if(bstr == NULL) return; @@ -187,7 +187,7 @@ STDAPI_(void) SysFreeString(BSTR bstr) * return value = unsigned int, length in characters. * ***********************************************************************/ -STDAPI_(unsigned int) +DLLEXPORT STDAPI_(unsigned int) SysStringLen(BSTR bstr) { if(bstr == NULL) diff --git a/src/palrt/comem.cpp b/src/palrt/comem.cpp index e44550d365..e0069d224f 100644 --- a/src/palrt/comem.cpp +++ b/src/palrt/comem.cpp @@ -11,17 +11,17 @@ #include "common.h" -STDAPI_(LPVOID) CoTaskMemAlloc(SIZE_T cb) +DLLEXPORT STDAPI_(LPVOID) CoTaskMemAlloc(SIZE_T cb) { return LocalAlloc(LMEM_FIXED, cb); } -STDAPI_(LPVOID) CoTaskMemRealloc(LPVOID pv, SIZE_T cb) +DLLEXPORT STDAPI_(LPVOID) CoTaskMemRealloc(LPVOID pv, SIZE_T cb) { return LocalReAlloc(pv, cb, LMEM_MOVEABLE); } -STDAPI_(void) CoTaskMemFree(LPVOID pv) +DLLEXPORT STDAPI_(void) CoTaskMemFree(LPVOID pv) { LocalFree(pv); } |