Dimitar Dobrev
|
3caecadbbe
|
Added a union to the test header to check for compilable generated union wrappers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7971d0a33e
|
Fixed the generation of unions by considering all unions non-reference types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
bf2dfd375c
|
Fixed the "ret" conflict in the CLI back-end as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ca0e67529e
|
Added a compilation test for the class member of a nested type - that is, when &IntPtr code is generated.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
0c1240d97e
|
Added a compilation test for a free function with a class parameter named "ret".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
8312ff0a20
|
Removed the hard-coded "ret" variable.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
01d3779e2b
|
Corrected the generation of the native constructor when in a structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
64fb8ecbc0
|
Used the qualified identifier when allocating return values, to handle nested types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f163ceac63
|
Replaced an expression with a variable so that the & operator works.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
712a3904a6
|
Removed the "protected" modifier of setters when in a structure. Changed a generated local variable to a non-conflicting name.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
cd8d893601
|
Fixed the class containing context functions to be unsafe.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
b495c77a64
|
Set the driver property in TranslationUnitPass when adding new passes.
|
12 years ago |
triton
|
6b0cb59f8a
|
Added RunPasses to PassBuilder and change existing code to use it.
|
12 years ago |
triton
|
b41b5c6459
|
Fixed virtual tables tests.
|
12 years ago |
triton
|
cdc57d5c0a
|
Cleaned up test build scripts.
|
12 years ago |
triton
|
fb481baf7d
|
Fixed return of structures by value in C# backend similarly to the CLI backend by using copy constructors if the class has any non-trivial ones, or just copying memory directly if the class only has trivial ones.
|
12 years ago |
triton
|
9dfb30265e
|
Simplified GetFunctionIdentifier and GetFunctionNativeIdentifier.
|
12 years ago |
triton
|
02f5d0731a
|
Classes in AST now keep if they have non trivial copy constructors.
|
12 years ago |
triton
|
62078d449e
|
Simplified generated code dealing with hidden structure parameters.
|
12 years ago |
triton
|
d8adef816b
|
Copy constructor P/Invokes are now generated in C# backend.
|
12 years ago |
triton
|
f31dbad64f
|
Managed tests now depend on the Runtime project.
|
12 years ago |
triton
|
3f93eb4b0e
|
Added P/Invoke helpers for unmanaged-unmanaged memory copies.
|
12 years ago |
triton
|
e29bc41a59
|
Fixed value returns of classes bound as reference types in CLI backend.
|
12 years ago |
João Matos
|
8854c59a43
|
Merge pull request #42 from ddobrev/function_operators
Moved all operators not belonging to a type to the type of their first parameters
|
12 years ago |
João Matos
|
1f659d33e8
|
Merge pull request #44 from ddobrev/duplicates_ignore_hidden_args
Duplicates ignore hidden args
|
12 years ago |
Dimitar Dobrev
|
8bea49599a
|
Fixed the check for duplicate names to ignore hidden return parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
4f1eba905f
|
Moved all operators not belonging to a type to the type of their first parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
43d01854a2
|
Fixed a regression causing a crash as some functions with no symbols are allowed to reach code generation.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
b65ae11a5c
|
Fixed FindSymbolsPass to not ignore declarations in CLI generator.
|
12 years ago |
triton
|
62015b08e4
|
Added some helper properties to check generator kind.
|
12 years ago |
triton
|
257e34b5b8
|
Fixed test.
|
12 years ago |
triton
|
7d1bf939f5
|
Remove unused usings.
|
12 years ago |
triton
|
523e8d7989
|
Fixed issue with signed enum constants with tests.
|
12 years ago |
triton
|
3f83b36809
|
Added native tests dependency to tests.
|
12 years ago |
triton
|
d138661a86
|
Respect the CheckSymbols driver option in FindSymbolsPass.
|
12 years ago |
triton
|
a5603e3345
|
Renamed CppSharp_API to DLL_API.
|
12 years ago |
triton
|
b80a395998
|
Reworked the tests base class.
|
12 years ago |
triton
|
a5363e2f6c
|
Added new quiet option in the driver that does not output unnecessary information.
|
12 years ago |
triton
|
c9882f411f
|
Setup CLI project location properly to fix tests generation.
|
12 years ago |
João Matos
|
3f1e4efc4f
|
Merge pull request #41 from ddobrev/fixed_arrays
Properly fixed the generation of members using fixed arrays
|
12 years ago |
Dimitar Dobrev
|
26c8f9fcd8
|
Properly fixed the generation of members using fixed arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
João Matos
|
3006769fb5
|
Merge pull request #40 from ddobrev/operators_overloading
Fixed the filling of missing operators to account for operator overloads.
|
12 years ago |
Dimitar Dobrev
|
2063aa2216
|
Fixed the filling of missing operators to account for operator overloads.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
b856fada62
|
Updated build scripts for test projects to call the generator as a pre-build event.
|
12 years ago |
triton
|
16c13f6a16
|
Remove console buffering hack.
|
12 years ago |
João Matos
|
e2bd832697
|
Merge pull request #39 from ddobrev/master
Corrected the overloading of << and >> by making sure the second parameter is implicitly convertible to int
|
12 years ago |
Dimitar Dobrev
|
90732c6ca7
|
Corrected the overloading of << and >> by making sure the second parameter is implicitly convertible to int.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
João Matos
|
7f079a43b3
|
Merge pull request #38 from ddobrev/qualified_types_property_setters
Generate qualified type names in property setters
|
12 years ago |
Dimitar Dobrev
|
79f7fb7b11
|
Generate qualified type names in property setters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
João Matos
|
c5e2216b2a
|
Merge pull request #35 from ddobrev/master
Ignore any mangled declaration not found in library symbols
|
12 years ago |