Dimitar Dobrev
|
f29e3a2240
|
Fixed an assert when parsing nested types which use template instantiations of void.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
50a5d328db
|
Fixed an assert when parsing template instantiations of void.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
b53aaae81b
|
Fixes parsing of K&R-style C functions with no prototypes.
Fixes issue #641.
|
9 years ago |
Dimitar Dobrev
|
0e344b4b8a
|
Tested generation of C# comments at run-time.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
1d3e821093
|
Fixed #453 - incorrect comment generation.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
38f1707474
|
Fixed #638 - incompilable generated C# code when a function takes a protected enum.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Abhinav Tripathi
|
9a7927613e
|
Fix generation of functions with union params
|
9 years ago |
João Matos
|
4d89bfa001
|
Fixed code generation for constant arrays of function pointers.
Fixes https://github.com/mono/CppSharp/issues/632 and SDL sample.
|
9 years ago |
Joao Matos
|
62d5f00c77
|
Fixed code generation of subscript operator for types with non-default parameter usage.
|
9 years ago |
Joao Matos
|
f8bd69790e
|
Fixed marshaling of typedef'd const char strings.
|
9 years ago |
Joao Matos
|
24e53f4f79
|
Fixed expression parsing of dependent type default unary expressions.
Fixes issue #618.
|
10 years ago |
Dimitar Dobrev
|
9ab71aeac7
|
Fixed the parsing of subclasses of dynamic template instantiations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
da56988266
|
Fixed marshaling of null UTF-32 wide strings.
Closes issue #606. Thanks to magnet31 for reporting the issue.
|
10 years ago |
Dimitar Dobrev
|
b60de160f9
|
Fixed a crash caused by deleting forward declarations other declarations might depend on.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
3402952388
|
Called the most derived destructor when it's not virtual.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
d328b7ce34
|
Properly handled nulls passed to C++ refs by throwing an exception.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
f7b4d6ce83
|
Fixed the wrapping of operators for non-equality to handle null.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
477dd914cb
|
Fixed setters of indexers when the key is type-mapped.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
1c52e67bb8
|
Fixed the wrapping of indexers returning value types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
a18479e1db
|
Generated valid code for wrapping char arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
bd5df799c9
|
Complemented comparison operators with the first parameter not of the containing type.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
53074cca58
|
Simplified the fix for calling the dtor of an abstract type with MinGW.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
e4a40d0eed
|
Revert "Fixed a crash when calling the dtor of an abstract type with MinGW."
This reverts commit 67e6e1204c .
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
67e6e1204c
|
Fixed a crash when calling the dtor of an abstract type with MinGW.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
05a44565bd
|
Ensured a virtual dtor is called even if the base dtor is not virtual.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
324e241c25
|
Fixed the internal abstract impls with default params of a pointer type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
287ad2394d
|
Properly printed complex comments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
dc95c8d8c8
|
Fixed the bodies of functions overriding indirect virtuals.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
fa0e66687d
|
Fixed abstract implementations and bodies of overrides to properly handle abstract overrides.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
1b5de25f8c
|
Removed implementations for ignored abstract types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
7de598b7aa
|
Add a test for "Improve robustness when handling unexpected FunctionProto type locs.".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
c183200815
|
Fixed a regression causing incorrect sizes of types derived from template instantiations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
1d5b9869c8
|
Added missing test case for 24bdec82b2 .
|
10 years ago |
triton
|
d6b5fcfe2b
|
Fixed parser crash with dependent-sized bitfields.
|
10 years ago |
triton
|
e2b74a7697
|
Implemented virtual function call handling.
Closes issues #402, #496.
Thanks to Abhinav for his pull which I based this work on.
|
10 years ago |
Dimitar Dobrev
|
91b3a5aef1
|
Worked around an MS .NET bug which prevents marshalling bools in certain cases.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
89483ec17a
|
Fixed a regression when having an array with dependent elements.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
170e0a5934
|
Removed char from internal fields because marshalling is broken.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
5ef899366c
|
Renamed the test suite projects.
|
10 years ago |
triton
|
18bc6729ac
|
Removed useless ignored TestChar16 test.
|
10 years ago |
Dimitar Dobrev
|
a04ac2237a
|
Fixed the potential generation of explicit and implicit conversion from the same type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Abhinav Tripathi
|
364ea2660f
|
Fixed code gen for out Parameters.
|
10 years ago |
Dimitar Dobrev
|
922c329d78
|
Fixed uncompilable code when a virtual function has a param called "target".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
63bc07e965
|
Fixed the cleaning of invalid names to allow custom names for enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
dc213e3b99
|
Fixed Basic tests linking in C++/CLI backend.
This was a regression introduced when fixing the visibility of this variable on Linux.
|
10 years ago |
Dimitar Dobrev
|
cafc14ffed
|
Moved the initialisation of a variable to the cpp so that it works properly on Linux.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
fa58aea3f0
|
Removed all remaining inlined bodies in order to fix the tests on Linux.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
9d78f5386d
|
Fixed a crash on Mono when marshalling types with no fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
062f8e26e0
|
Revert "Revert "Included ignored fields in the wrappers for better marshalling.""
This reverts commit 27d3f21a75 .
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
fe00ff8b5a
|
Fixed visibility of these methods under GCC.
|
10 years ago |