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:
authorGaurav Khanna <gkhanna@microsoft.com>2015-12-30 20:25:31 +0300
committerGaurav Khanna <gkhanna@microsoft.com>2015-12-30 20:25:31 +0300
commitec8865f2166aabd2a3e39f84f42ece6f088446eb (patch)
tree1100b54c55191ded206a339affb6112579c39901 /src/Native
parent5a03036ac7dd6f058a237ccb8872e5c7782abebb (diff)
parent6acb9792fe84dd30d748cfbd6f3ee6df3aea862d (diff)
Merge pull request #575 from gkhanna79/Fix562
Export additional functions from bootstrapper.
Diffstat (limited to 'src/Native')
-rw-r--r--src/Native/Bootstrap/platform.unix.cpp14
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; }
+
+}