Dimitar Dobrev
|
dc270ef2a8
|
Simplified the C# marshalling of Boolean fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
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 |
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 |
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 |
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
|
1f61f51b4e
|
Added C#-printing of float128.
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 |
Dimitar Dobrev
|
b83d2a504a
|
Fixed the C#-printing of injected classes.
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 |
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 |
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 |
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 |
Dimitar Dobrev
|
f549b63711
|
Removed the useless and problematic mapping of typedef-ed classes to empty ones.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
2670d47eb1
|
Added IAstVisited implementation to code generator.
|
8 years ago |
Joao Matos
|
9b277c15b4
|
Added generator name parameter to file preamble generation.
|
8 years ago |
Joao Matos
|
73374065f6
|
Renamed MarshalContext.SupportBefore to Before.
|
8 years ago |
Joao Matos
|
a8027694ac
|
Re-use VisitParameter overload in type printer base class.
|
8 years ago |
Dimitar Dobrev
|
3969e21586
|
Simplified some code.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
3ac96ac8f2
|
Extract default common visit code into base TypePrinter class.
|
8 years ago |
Joao Matos
|
11f1956cde
|
Remove CLITypePrinterContext and its usage in CLITypePrinter.
|
8 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.
|
8 years ago |
Dimitar Dobrev
|
9dbcc3cc2c
|
Completed the support for dependent type names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Gilad Levi
|
5302f5870c
|
Use fixed c# statement when accessing fixed struct members
|
8 years ago |
Victor Peter Rouven Müller
|
0a61baa4b6
|
Completely ignore incomplete classes in C++/CLI (#823)
Signed-off-by: realvictorprm <mueller.vpr@gmail.com>
|
8 years ago |
Dimitar Dobrev
|
974f8fab20
|
Replaced the useless desugared dependent name type with its qualifier.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5f6c432f19
|
Removed all warnings in the C# part.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
realvictorprm
|
9d89764965
|
Wrapped injected classes in order to ease binding lists of redeclarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
42facd9df1
|
Fixed the generation of parameters in the C# printer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
52788fd0d6
|
Removed a redundant parameter.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
realvictorprm
|
f44c578be8
|
Disabled generation of disposable for incomplete structs/classes (#799)
Fixes https://github.com/mono/CppSharp/issues/798.
|
8 years ago |
realvictorprm
|
938ccf686b
|
Incomplete classes and structs are now generated for C#. (#797)
This feature is NOT coming for C++/CLI !
|
8 years ago |
Dimitar Dobrev
|
38f247b1db
|
Merged the libraries for inlines and templates into one.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
realvictorprm
|
4307fb3303
|
Fixed ArgumentException due to nullptr arguments in Marshaling native function pointers. (#794)
|
8 years ago |
Dimitar Dobrev
|
e2a2e8df4b
|
Fixed the generated C# for an array of const char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
fe85a33ba1
|
Restored the renaming of enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
10ac0a4865
|
Fixed the getting of the template a specialised function is instantiated from.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
254e51145f
|
Moved the generation of C# bodies to their own methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
a1fa5bd93f
|
Changed the generation of patched v-tables to also work for class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9b7a372a3c
|
Sped up the generated C# by using sizeof instead of Marshal.SizeOf.
They are equivalent in our case because we only use blittable types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |