Dimitar Dobrev
|
18cc5ed24a
|
Removed the manual padding of fields with type array.
This used to work around a bug in Mono which has now been fixed.
|
9 years ago |
Dimitar Dobrev
|
22bd02c849
|
Revert "Shortened the generated C# code for patching v-tables."
This reverts commit 2486d1d419.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2486d1d419
|
Shortened the generated C# code for patching v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
a8815b84e2
|
Fixed the generated C# when a parameter is s typedef of a primitive pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2a3fed61b7
|
Improved the searching for the correct native lib to import.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5b6a19a0c4
|
Handled more possible names for type maps when generating the mapped class itself.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
4cb5412915
|
Fixed a regression when an abstract implementation has a function from a secondary base.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
c16a0287f4
|
Fixed a regression when wrapping functions which implement secondary bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b2a872f431
|
Merged the passes for properties and made the result non-optional.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
458f7ff25b
|
Deleted the non-working marshalling interface and the option for it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2a369a341d
|
Simplified the code for generating virtual C# calls.
Fixes https://github.com/mono/CppSharp/issues/706.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
055f4c627e
|
Fixed the generated C++/CLI when a header and a contained name-space bear the same name.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
1b41897172
|
Fixed the generated C# when a header and a contained name-space bear the same name.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
77f45dee38
|
Fixed the adjustment of the instance in cases of multiple inheritance.
Fixes https://github.com/mono/CppSharp/issues/707.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
05c4213c28
|
Revert "Fixed the adjustment of the instance in cases of multiple inheritance."
This reverts commit e43dd1c18f.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
e43dd1c18f
|
Fixed the adjustment of the instance in cases of multiple inheritance.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9cb7155679
|
Enforced the option for generating partial C# classes by removing it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
924ceaf85a
|
Fixed the selection of a virtual table to call virtual methods through in the C# generator.
Fixes https://github.com/mono/CppSharp/issues/703.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
23b17c4df4
|
Use the qualified pointee type when printing/visiting pointer types.
|
9 years ago |
Dimitar Dobrev
|
d22e084c7c
|
Fixed the walking of pointer types to use the correct qualifiers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
098ff73e52
|
Rename type map database in binding context.
|
9 years ago |
Joao Matos
|
186312a92b
|
Fixed missing primitive types in CLI type printer.
Partial fix for https://github.com/mono/CppSharp/issues/695.
|
9 years ago |
Dimitar Dobrev
|
9cbb13053a
|
Fixed the generated code when an override has its access increased.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
e1fae44c64
|
Refactored CppTypePrinter to be more easily extensible.
|
9 years ago |
Dimitar Dobrev
|
7c9c91acc3
|
Fixed the generated C# when a method with a default arg is named the same as another, non-default, of its parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
76ce6c7836
|
Added an unsupported type node to the AST.
|
9 years ago |
Dimitar Dobrev
|
d2326a3883
|
Added processing of type aliases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
6ed05c2b5d
|
Fixed the generated C# with properties constructed from a returned value and a taken reference.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
3ee6165053
|
Fixed the generated C# when a virtual function returns a primitive pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9fe2d307dc
|
Fixed the generated C# when marshalling a field of type const wchar_t*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
1932798d45
|
Aligned pointers to classes when passing them converted to their secondary bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
34c75d28f6
|
Avoided ambiguous local variables when marshalling arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
be32825bed
|
Added support for wrapping variable arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
bcd6b226fa
|
Fixed the marshalling of arrays.
Fixes https://github.com/mono/CppSharp/issues/680.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
979057d263
|
Fixed the generated C# code when wrapping fixed arrays of enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
7b510bec42
|
Simplified the name of the internal structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b2a90a5d80
|
Prefixed the internal structure for the C# end to avoid naming conflicts.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
70f0851635
|
Ignored extern templates because they just forward to real specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5d8ecf32d7
|
Extended the AST with the GCC vector type ("__attribute__").
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
a77bc2a91f
|
Separate parser options from driver options.
This will break API compatibility, you will have to update your options setup code.
|
10 years ago |
Joao Matos
|
4e48af9a4c
|
Remove the Driver dependency from the generators with a BindingContext.
|
10 years ago |
Joao Matos
|
fc5c09ab75
|
Rename type printer context variables in type printers.
|
10 years ago |
Joao Matos
|
a44da437e6
|
Rename AstVisitor.Options to VisitOptions.
|
10 years ago |
Joao Matos
|
41719e641e
|
Rename IDiagnosticConsumer to IDiagnostics.
|
10 years ago |
Dimitar Dobrev
|
cbafb55044
|
Removed the managed calls to destructors of std::strings passed by value.
The native code calls the destructors itself.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e2690ba078
|
Switched the C# generator from manual conversion between strings and pointers to the built-in string marshallers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e36e7fc0ca
|
Ignored fields with types pointer to a function because they are not properly marshalled anyway.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
857b25db2f
|
Simplified some code.
|
10 years ago |
Dimitar Dobrev
|
5b52075d32
|
Fixed the generated usages of internals of template specialisations with dependent fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
3230f9037f
|
Minor fixes to handling arrays and std::string.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |