diff options
author | Fan Yang <52458914+fanyang-mono@users.noreply.github.com> | 2022-06-22 01:07:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 01:07:11 +0300 |
commit | 18d7e3926db5ff7238f2d93364d39ac300c00ee4 (patch) | |
tree | ad19545abf2bc5c77b25659544a1a9dc34dcfa4f /src/native | |
parent | 8558cdc3e26a0e28c386168be519f818678aadef (diff) |
[Mono] Fix C4018 warnings round II (#70783)
* Fix C4018 warnings round II
* Changes for x86
* Fix more C4018 warnings
* Last set of files being fixed within this PR
* Address review feedback and fix a build failure
* Update upd_locator_t to be in sync with locator_t
Diffstat (limited to 'src/native')
-rw-r--r-- | src/native/public/mono/metadata/details/image-functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/native/public/mono/metadata/details/image-functions.h b/src/native/public/mono/metadata/details/image-functions.h index 6866bf39ec0..b8575333822 100644 --- a/src/native/public/mono/metadata/details/image-functions.h +++ b/src/native/public/mono/metadata/details/image-functions.h @@ -42,8 +42,8 @@ MONO_API_FUNCTION(mono_bool, mono_image_is_dynamic, (MonoImage *image)) MONO_API_FUNCTION(char*, mono_image_rva_map, (MonoImage *image, uint32_t rva)) MONO_API_FUNCTION(const MonoTableInfo *, mono_image_get_table_info, (MonoImage *image, int table_id)) -MONO_API_FUNCTION(int, mono_image_get_table_rows, (MonoImage *image, int table_id)) -MONO_API_FUNCTION(int, mono_table_info_get_rows, (const MonoTableInfo *table)) +MONO_API_FUNCTION(MONO_RT_EXTERNAL_ONLY int, mono_image_get_table_rows, (MonoImage *image, int table_id)) +MONO_API_FUNCTION(MONO_RT_EXTERNAL_ONLY int, mono_table_info_get_rows, (const MonoTableInfo *table)) /* This actually returns a MonoPEResourceDataEntry *, but declaring it * causes an include file loop. |