Kimon Topouzidis
e8e03f7aae
Added float128 to the marshalling structures in the C# generator. ( #857 )
9 years ago
Dimitar Dobrev
b83d2a504a
Fixed the C#-printing of injected classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Mohit Mohta
ebcbc10a04
Ignored the generated code for variable-sized array of a class/struct ( #855 )
...
Fixes #777
9 years ago
Dimitar Dobrev
a6b25c1941
Fixed the visiting of class template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
3794047cd6
Deleted an unused method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Kimon Topouzidis
551d208044
Added half to the marshalling structures in the C# generator. ( #854 )
9 years ago
Dimitar Dobrev
1895ae3b94
Removed unused kinds of function synthesis.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
b77de1a36c
Improved the collection of type template parameters when parsing dependent name types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Mohit Mohta
6bd00372c0
Fixed the generated C# for const ref parameter of Indexer ( #851 )
...
Fixes #628
9 years ago
Dimitar Dobrev
51fe04b666
Made all fields of C# marshalling structures internal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
8479ed3735
Removed unused parameters from the utility functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
f954a072e2
Ignored dependent name types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
bbfeb09678
Ignored pack expansions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
a9ee1fda5e
Fixed crashes when printing messages containing braces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Mohit Mohta
3677bc8db7
Included the TestVirtualFunctionRetVal for Linux ( #846 )
...
Fixes #755
It turns out this wasn't a bug in our code because the test passes now with no changes whatsoever. My only guess is that there used to be a bug in Mono.
9 years ago
Mohit Mohta
db1522d7b2
Regenerated the parser bindings ( #844 )
9 years ago
Mohit Mohta
78c9a3e791
Added check for native pointer for null before calling a destructor and set it to null after ( #843 )
...
Fixes #808
9 years ago
Joao Matos
b28f766d8d
[build] Fixed LLVM compilation script Lua syntax bug.
9 years ago
Dimitar Dobrev
f6df3267d0
Fully qualified calls to constructors in the generated C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Kimon Topouzidis
797cacadb8
Added long doubles to the marshalling structures in the C# generator. ( #842 )
9 years ago
Mohit Mohta
efbc8fe90e
Fixed the generated C# when setting a field which is an array of complex objects ( #841 )
...
Fixes #717
9 years ago
Kimon Topouzidis
def7d44195
Moved the printing of fields from the C# generator to the C# printer. ( #840 )
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
f549b63711
Removed the useless and problematic mapping of typedef-ed classes to empty ones.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
37224ea55e
Ensured symbols for templated functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
991a891563
Ensured symbols for system functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Mohit Mohta
927bd45d63
Added the tests for Symbols ( #833 )
9 years ago
Mohit Mohta
a1af127b56
Updated the tests for Dependencies ( #832 )
9 years ago
Dimitar Dobrev
c0ce70d025
Removed useless output when VS 2017 is not installed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Mohit Mohta
185cbfdcf6
Deleted Obsolete Options and replaced them with Modules ( #828 )
...
Fixes #766
9 years ago
Joao Matos
bd86afa9a2
[ast] Visit methods, properties and fields when they're added as declarations.
9 years ago
Joao Matos
97cc7e53df
[ast] Added IsStatic property to fields.
9 years ago
Joao Matos
ae3b9f56a8
[ast] Added support for field acessors to functions (to be used by Embeddinator).
9 years ago
Joao Matos
a85dcaa533
[ast] Added a constructor taking string to UnsupportedType.
9 years ago
Kimon Topouzidis
55298e026a
Enabled users to remove any built-in pass. ( #829 )
...
Fixes https://github.com/mono/CppSharp/issues/802
9 years ago
Joao Matos
2670d47eb1
Added IAstVisited implementation to code generator.
9 years ago
Joao Matos
2af96cd75d
[travis] Replace explicit build steps with compile script.
9 years ago
Joao Matos
9b277c15b4
Added generator name parameter to file preamble generation.
9 years ago
Joao Matos
73374065f6
Renamed MarshalContext.SupportBefore to Before.
9 years ago
Joao Matos
1083ebc7af
[build] Added script to compile the codebase.
9 years ago
Joao Matos
a8027694ac
Re-use VisitParameter overload in type printer base class.
9 years ago
Dimitar Dobrev
3969e21586
Simplified some code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
5a289d0f00
Updated the NUnit used in Travis in order to fix a crash in it.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0b858668d2
Merge branch 'master' of https://github.com/giladlevi/CppSharp
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Gilad Levi
9425beab96
added a test for MyMacroTestEnum + split LINQ to different lines
9 years ago
Joao Matos
3ac96ac8f2
Extract default common visit code into base TypePrinter class.
9 years ago
Gilad Levi
35adf99165
added test for asci-macro-enum feature
9 years ago
Gilad Levi
174ba93810
added support with a single character macros like: " #define MACRO '2' " to use ASCI code.
9 years ago
Joao Matos
adac942b38
Initialize compilation options.
9 years ago
Joao Matos
11f1956cde
Remove CLITypePrinterContext and its usage in CLITypePrinter.
9 years ago
Joao Matos
38cb8e1dbe
Overhaul type printer and marshal contexts design and implementation.
...
The goal is to simplify the design and get rid of useless type printer contexts inside type printers.
9 years ago