Browse Source

Added generator-specific options from Embeddinator.

pull/750/head
Joao Matos 9 years ago
parent
commit
ac6be2eccf
  1. 13
      src/Generator/Options.cs

13
src/Generator/Options.cs

@ -210,6 +210,19 @@ namespace CppSharp
/// </summary> /// </summary>
public HashSet<string> ExplicitlyPatchedVirtualFunctions { get; } public HashSet<string> 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 public class InvalidOptionException : Exception

Loading…
Cancel
Save