|
7 | 7 | #include <stdint.h>
|
8 | 8 | #include <assert.h>
|
9 | 9 | #include <sys/types.h>
|
| 10 | +#include <uchar.h> |
10 | 11 |
|
11 | 12 | #include <mono/metadata/appdomain.h>
|
12 | 13 | #include <mono/metadata/class.h>
|
@@ -58,17 +59,17 @@ extern void mono_wasm_invoke_jsimport_ST (int function_handle, void *args);
|
58 | 59 | #endif /* DISABLE_THREADS */
|
59 | 60 |
|
60 | 61 | // HybridGlobalization
|
61 |
| -extern void* mono_wasm_change_case_invariant (const uint16_t* src, int32_t srcLength, uint16_t* dst, int32_t dstLength, mono_bool bToUpper); |
62 |
| -extern void* mono_wasm_change_case (MonoString **culture, const uint16_t* src, int32_t srcLength, uint16_t* dst, int32_t dstLength, mono_bool bToUpper); |
63 |
| -extern void* mono_wasm_compare_string (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, int *resultPtr); |
64 |
| -extern void* mono_wasm_starts_with (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, mono_bool *resultPtr); |
65 |
| -extern void* mono_wasm_ends_with (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, mono_bool *resultPtr); |
66 |
| -extern void* mono_wasm_index_of (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, mono_bool fromBeginning, int *resultPtr); |
67 |
| -extern void* mono_wasm_get_calendar_info (MonoString **culture, int32_t calendarId, const uint16_t* result, int32_t resultMaxLength, int *resultLength); |
68 |
| -extern void* mono_wasm_get_locale_info (MonoString **locale, MonoString **culture, const uint16_t* result, int32_t resultMaxLength, int *resultLength); |
69 |
| -extern void* mono_wasm_get_culture_info (MonoString **culture, const uint16_t* result, int32_t resultMaxLength, int *resultLength); |
70 |
| -extern void* mono_wasm_get_first_day_of_week (MonoString **culture, int *resultPtr); |
71 |
| -extern void* mono_wasm_get_first_week_of_year (MonoString **culture, int *resultPtr); |
| 62 | +extern char16_t* mono_wasm_change_case_invariant (const uint16_t* src, int32_t srcLength, uint16_t* dst, int32_t dstLength, mono_bool bToUpper); |
| 63 | +extern char16_t* mono_wasm_change_case (MonoString **culture, const uint16_t* src, int32_t srcLength, uint16_t* dst, int32_t dstLength, mono_bool bToUpper); |
| 64 | +extern char16_t* mono_wasm_compare_string (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, int *resultPtr); |
| 65 | +extern char16_t* mono_wasm_starts_with (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, mono_bool *resultPtr); |
| 66 | +extern char16_t* mono_wasm_ends_with (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, mono_bool *resultPtr); |
| 67 | +extern char16_t* mono_wasm_index_of (MonoString **culture, const uint16_t* str1, int32_t str1Length, const uint16_t* str2, int32_t str2Length, int32_t options, mono_bool fromBeginning, int *resultPtr); |
| 68 | +extern char16_t* mono_wasm_get_calendar_info (MonoString **culture, int32_t calendarId, const uint16_t* result, int32_t resultMaxLength, int *resultLength); |
| 69 | +extern char16_t* mono_wasm_get_locale_info (MonoString **locale, MonoString **culture, const uint16_t* result, int32_t resultMaxLength, int *resultLength); |
| 70 | +extern char16_t* mono_wasm_get_culture_info (MonoString **culture, const uint16_t* result, int32_t resultMaxLength, int *resultLength); |
| 71 | +extern char16_t* mono_wasm_get_first_day_of_week (MonoString **culture, int *resultPtr); |
| 72 | +extern char16_t* mono_wasm_get_first_week_of_year (MonoString **culture, int *resultPtr); |
72 | 73 |
|
73 | 74 | void bindings_initialize_internals (void)
|
74 | 75 | {
|
|
0 commit comments