diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2015-12-30 11:04:01 +0300 |
---|---|---|
committer | Gaurav Khanna <gkhanna@microsoft.com> | 2015-12-30 17:27:44 +0300 |
commit | 6acb9792fe84dd30d748cfbd6f3ee6df3aea862d (patch) | |
tree | 341ed1b268bf07e7bc0f046ddabc7778eb5eeabf /src | |
parent | 5a6227d2a5645cc429905654685f36b2c516e2ba (diff) |
Export additional functions from bootstrapper.
Diffstat (limited to 'src')
-rw-r--r-- | src/Native/Bootstrap/platform.unix.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/Native/Bootstrap/platform.unix.cpp b/src/Native/Bootstrap/platform.unix.cpp index b38c71eba..d3a3919c8 100644 --- a/src/Native/Bootstrap/platform.unix.cpp +++ b/src/Native/Bootstrap/platform.unix.cpp @@ -17,6 +17,8 @@ int UTF8ToWideChar(char* bytes, int len, unsigned short* buffer, int bufLen) return len; } +extern "C" { + void LCMapStringEx(void*, uint32_t, void*, int32_t, intptr_t, int32_t, intptr_t, intptr_t, intptr_t) { throw 42; @@ -27,7 +29,7 @@ int32_t WideCharToMultiByte(uint32_t CodePage, uint32_t dwFlags, uint16_t* lpWid throw 42; } -extern "C" int32_t MultiByteToWideChar(uint32_t CodePage, uint32_t dwFlags, const uint8_t * lpMultiByteStr, int32_t cbMultiByte, uint16_t* lpWideCharStr, int32_t cchWideChar) +int32_t MultiByteToWideChar(uint32_t CodePage, uint32_t dwFlags, const uint8_t * lpMultiByteStr, int32_t cbMultiByte, uint16_t* lpWideCharStr, int32_t cchWideChar) { throw 42; } @@ -67,7 +69,9 @@ int32_t ResolveLocaleName(intptr_t, intptr_t, int32_t) throw 42; } -extern "C" void CoCreateGuid() { } -extern "C" void CoGetApartmentType() { } -extern "C" void CreateEventExW() { } -extern "C" void GetNativeSystemInfo() { } +void CoCreateGuid() { throw 42; } +void CoGetApartmentType() { throw 42; } +void CreateEventExW() { throw 42; } +void GetNativeSystemInfo() { throw 42; } + +} |