CppSharp v0.9.0 Release Notes
Release Date: 2019-03-01 // about 5 years ago-
Extended the AST with C++ statements and expressions.
Made public the finding of enabled type maps by strings.
๐ Fixed the renaming of properties with the same name as their owners.
Simplified the pass for properties.
Skip ignored bases in
ClassExtensions.GetBaseProperty
.๐ Fixed missing options copy in ParserOptions copy constructor.
๐ Use MSBuild when building LLVM on Windows due to PDB issues with Ninja.
๐ Improve robustness when parsing types and decls.
๐ Fixed indentation regressions.
โ Deleted useless output.
๐ Fixed naming edge case in
GenerateProperties.GetReadWritePropertyName
.โ Added
PrintModuleOutputNamespace
option toCSharpTypePrinter
.๐ Fixed extraneous new lines when generating multi-line comments.
Obsoleted all hand-written types for expressions.
๐ Use
takeError()
when handling errors in parsing libraries.๐ Fixed a crash with
TranslationUnit.FileName
property.โ Added
ForceClangToolchainLookup
option to force to use Clang's toolchain lookup code.๐ Extract
ParserOptions
cloning code into a copy constructor.๐ Improve
ParserOptions.Verbose
to print compiler arguments.๐ Fixed
Options.DryRun
to not generate any binding code.โ Added some helper methods in
Enumeration
to work with scoped enumerations.โ Added a parsing option to skip gathering of native layout info.
๐ Fixed the generated C# when an instance method has a parameter named "instance".
๐ Fixed the generated C# for const/non-const overloads with > 1 param.
๐ Fixed the generated C# when a ref parameter is named after a keyword.
๐ Fixed the generation for parameters of type void**.
๐ Fixed the generated C# for indexers in templates specialized with void*.
๐ Fixed the generated C# for template specializations of pointers.
๐ Fixed the generated C# for const void*& in parameters.
๐ Fixed the generated C# when returning a non-const char*.
๐ Fixed the generated C# for parameters initialized with {}.
๐ Fixed the generated C# when a template is specialized with T and const T.
๐ Fixed the generated C# when an unsigned enum is assigned a negative value.