-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cxx] Make the externC of icalls configuration-dependent instead of a…
…lways. (mono/mono#17573) There are pluses and minuses here: + Minimize externC. + Maximimze typesafe linkage. - Minimize configuration-sensitivity. - Maximize commonality across all configurations, so that success in one configuration maximally but not 100% implies success in others (which is why to avoid `#if` in general, to contribute toward compilation success). + Use higher level macros to explain reason. Even if ICALL_EXTERN_C was always externC (presently not), using it instead of plain G_EXTERN_C offers a builtin comment. Commit migrated from mono/mono@5237696
- Loading branch information
1 parent
4eecc94
commit 422e74e
Showing
1 changed file
with
102 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters