diff --git a/src/Generator/Options.cs b/src/Generator/Options.cs index 42ab2d21..9325003d 100644 --- a/src/Generator/Options.cs +++ b/src/Generator/Options.cs @@ -210,6 +210,19 @@ namespace CppSharp /// public HashSet ExplicitlyPatchedVirtualFunctions { get; } + #endregion + + #region Embeddinator options + + // If true, will use unmanaged->managed thunks to call managed methods. + // In this mode the JIT will generate specialized wrappers for marshaling + // which will be faster but also lead to higher memory consumption. + public bool UseUnmanagedThunks; + + // If true, will generate support files alongside generated binding code. + public bool GenerateSupportFiles = true; + + #endregion } public class InvalidOptionException : Exception