Dimitar Dobrev
|
35902635ff
|
Fixed the parsing of an undeclared template specialisation with an extension method.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e53b25346e
|
Prevented C++ generation for invalid specialised functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Mikulas Florek
|
04a1591e84
|
Fixed the generated C# for fixed arrays of Booleans.
fixes #1004
* mend
Fixed the generated C# for fixed arrays of Booleans
|
8 years ago |
Joao Matos
|
f334e447be
|
Added optional visiting of property accessors.
|
8 years ago |
Joao Matos
|
09199381c9
|
CodeGenerator is now an IAstVisitor.
|
8 years ago |
Dimitar Dobrev
|
3b43a0b168
|
Cleaned up the additional parser options after parsing headers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
33bc64ad9a
|
Reused the parsing of headers to get the target info as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5e17200af8
|
Moved the method for building parser options specific to a file.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
af8a758744
|
Fixed the generated C++ for symbols to be compatible with Clang.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
10748cba2e
|
Fixed the generated C# when a type nested in a template is forwarded.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
99e849968b
|
Added Swift as a generator kind for Embeddinator.
|
8 years ago |
Dimitar Dobrev
|
310f1110df
|
Handled any level of nesting when generating internals for specialisations in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5ca93458a2
|
Fixed the generation of internals for template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5e39989ce6
|
Ensured symbols for nested template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
2f0294da67
|
Fixed the generated C++ for external template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
b7faf33819
|
Fixed a regression of generating templates in C# with the option off.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5bce2fb533
|
Reused parameters between functions and their types (as Clang does).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
fd9c9520c8
|
Reduced the indentation at the marshalling of arrays in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
efbe7cd3e4
|
Fixed the generated C# for a fixed array of pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
b5c17d98bd
|
Verified that unused STD types are removed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ae6a37359a
|
Removed unused STD enumerations from generation.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
0c78ba29f7
|
Fixed a crash when a comment contains regular text wrapped in <>.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
7623adc9fb
|
Made only really used classes internal.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
28a00a9ff4
|
Ignored return parameters when fixing default arguments of overrides.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
c818f08efc
|
Fixed typo in comment.
|
8 years ago |
Joao Matos
|
bea0653268
|
Fixed code generation for using template types.
Thanks to @zillemarco for coming up with the test case.
|
8 years ago |
Joao Matos
|
06621d43f6
|
Re-use IntPtrType in CSharpTypePrinter.cs.
|
8 years ago |
Joao Matos
|
eff9b073a2
|
Clean up formatting in CSharpTypePrinter.cs.
|
8 years ago |
Marco Zille
|
d932a09cdf
|
Fixed incorrectly generated bindings for class with non-type template arguments
Fixes #979
|
8 years ago |
Dimitar Dobrev
|
54ad95bb5c
|
Simplified the sorting of declarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
764806e759
|
Fixed the generated C# for templates derived from regular dynamic classes.
Fixes https://github.com/mono/CppSharp/issues/967.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
cd5b57a786
|
Ensured all non-system template specialisations are complete.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
688b09f8f1
|
Added support for UTF8 string encoding marshaling.
|
8 years ago |
Joao Matos
|
b9813ff0ef
|
Refactor string encoding marshaling code to use interpolated strings.
|
8 years ago |
Joao Matos
|
61b0cc6d8b
|
Re-order usings.
|
8 years ago |
Joao Matos
|
eef53dfce2
|
Added a new verbose flag to the CLI tool and improved verbose handling.
|
8 years ago |
Joao Matos
|
34ce466d8d
|
Fixed duplicate generation of forward declared class.
Fixes https://github.com/mono/CppSharp/issues/968.
|
8 years ago |
Joao Matos
|
ecf4472152
|
Small cleanup and minor optimizations in ResolveIncompleteDeclsPass.
|
8 years ago |
Dimitar Dobrev
|
9e921ed1cd
|
Clarified that C# support for templates is still experimental.
It's difficult to entirely remove them now because there already are tests.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
122359bf9e
|
Fixed the generated C# when a virtual function takes a fixed array.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3af63fb33d
|
Fixed the generated C# for fixed arrays in types of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f6033f3a5a
|
Fixed the generated C# for virtuals taking arrays of objects.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
a319f96261
|
Fixed the generated C# when a virtual function takes an array.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3ce995ede0
|
Fixed the generated C# with 4+ modules and repetitive delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
6a15e51d76
|
Added C# marshalling of parameters of type array of const char* const.
Fixes https://github.com/mono/CppSharp/issues/692.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
65afb2628c
|
Simplified the method for generating a variable in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
37b3339e71
|
Added C# marshalling of parameters of type array of const char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
184feac23e
|
Fixed null arrays in C# to be passed as such to C/C++.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
140a624f43
|
Added C# marshalling of parameters of type array of objects.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ce71a3b8a8
|
Added C# marshalling of parameters of type array of primitives.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |