Kimon Topouzidis
d7c8a61ecc
Manipulated comments to avoid duplication of summary block. ( #876 )
...
Fixes #759 Works around: https://bugs.llvm.org/show_bug.cgi?id=33333
8 years ago
Mohit Mohta
65d5037a72
Fixed the generation of C# for Virtual function with std::string params ( #878 )
...
Fixes #877
8 years ago
Dimitar Dobrev
e04afb8bd5
Generated C# marshalling structures for classes nested in specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
3d9b8df2e3
Merged the pass for ignoring move ctors to the one for ignoring in general.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
ktopouzi
75b96143d2
Used packing when laying marshalling structures out sequentially.
...
Fixes https://github.com/mono/CppSharp/issues/772 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
5caa12375c
Add Decimal primitive types to the AST type model.
8 years ago
Joao Matos
86a2a171cc
Improved Class.GetOverloads method to work with functions as generalized declarations.
8 years ago
Kimon Topouzidis
1298634804
Extended declarations to store their packing. ( #871 )
8 years ago
Dimitar Dobrev
2f99e83b85
Removed the duplicate exporting of template functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
3699574983
Removed the macros in C++ AST for std::string because we can marshal it ( #866 )
8 years ago
Dimitar Dobrev
422b98a0fd
Enabled the tests for std::string.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f729414ae7
Fixed a bug causing internals of used specialisations to be skipped.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
4075ba7144
Enabled dtor generation in basic_string ( #864 )
8 years ago
Dimitar Dobrev
6c59014d7a
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
cfc6da4600
Fixed the generated C# when a field is named after a property to be generated.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
b1253d19a6
Added dependency of Std-symbols to Generator ( #863 )
8 years ago
Mohit Mohta
b4462274c2
Added exporting of std-symbols ( #862 )
8 years ago
Dimitar Dobrev
37adb3efc9
Fixed the binding of indexer overloads when there's more than one class key.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
c3f5b596ce
Simplified and shortened the names of internal functions in many cases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
c740a34dfa
Fixed the binding of a copy ctor when a move ctor exists too.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
3298bc86e7
Renamed Std-templates to Std-symbols ( #860 )
8 years ago
Mohit Mohta
96beeeada3
Added Generation of Std-templates Project ( #859 )
8 years ago
Dimitar Dobrev
762d3803d7
Changed the C#-printing of template specialisation types to use their arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
91bcc7c8a2
Fixed the generated C# when std::string is only used as a parameter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
d487088f53
Reduced the wrapped specialisations to ones used in public members.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
1f61f51b4e
Added C#-printing of float128.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
49badc5d84
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
24e452a183
Added int128 and uint128 to the marshalling structures in the C# generator. ( #858 )
...
fixed #771
8 years ago
Kimon Topouzidis
e8e03f7aae
Added float128 to the marshalling structures in the C# generator. ( #857 )
8 years ago
Dimitar Dobrev
b83d2a504a
Fixed the C#-printing of injected classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
ebcbc10a04
Ignored the generated code for variable-sized array of a class/struct ( #855 )
...
Fixes #777
8 years ago
Dimitar Dobrev
a6b25c1941
Fixed the visiting of class template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
3794047cd6
Deleted an unused method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
551d208044
Added half to the marshalling structures in the C# generator. ( #854 )
8 years ago
Dimitar Dobrev
1895ae3b94
Removed unused kinds of function synthesis.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 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>
8 years ago
Mohit Mohta
6bd00372c0
Fixed the generated C# for const ref parameter of Indexer ( #851 )
...
Fixes #628
8 years ago
Dimitar Dobrev
51fe04b666
Made all fields of C# marshalling structures internal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8479ed3735
Removed unused parameters from the utility functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f954a072e2
Ignored dependent name types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
bbfeb09678
Ignored pack expansions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
a9ee1fda5e
Fixed crashes when printing messages containing braces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 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.
8 years ago
Mohit Mohta
db1522d7b2
Regenerated the parser bindings ( #844 )
8 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
8 years ago
Joao Matos
b28f766d8d
[build] Fixed LLVM compilation script Lua syntax bug.
8 years ago
Dimitar Dobrev
f6df3267d0
Fully qualified calls to constructors in the generated C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
797cacadb8
Added long doubles to the marshalling structures in the C# generator. ( #842 )
8 years ago
Mohit Mohta
efbc8fe90e
Fixed the generated C# when setting a field which is an array of complex objects ( #841 )
...
Fixes #717
8 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>
8 years ago