triton
|
3771834bdd
|
Fixed marshaling of function pointer typedefs in CLI generator.
|
13 years ago |
triton
|
8bad119d7d
|
Fixed marshaling of pointers to classes in CLI generator.
|
13 years ago |
triton
|
2981c497dc
|
Remove extra newline from the output.
|
13 years ago |
triton
|
02559ed193
|
Added better support for unary operators.
|
13 years ago |
triton
|
cf8eaa3a35
|
Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object.
|
13 years ago |
triton
|
aa0a78abf5
|
Fixed marshaling of function pointer typedefs in CLI generator.
|
13 years ago |
triton
|
05c020f301
|
Fixed marshaling of pointers to classes in CLI generator.
|
13 years ago |
triton
|
0c64c06271
|
Remove extra newline from the output.
|
13 years ago |
triton
|
a4f1606956
|
Added better support for unary operators.
|
13 years ago |
Dimitar Dobrev
|
1fc9880be9
|
Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
b06f206878
|
Fixed the generation of static function to use the correct return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
0ae181b2cf
|
Added suffixes to generated variables to avoid conflicts.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
fbe5851237
|
Added UnmanagedFunctionPointerAttribute to generated delegates to avoid run-time crashes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
cc77397461
|
Converted const wchar_t* to string.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
bc14348d5f
|
Generated compilable wrappers for functions taking char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
triton
|
639fddb0bc
|
Reworked C++/CLI pointer type printing.
|
13 years ago |
Dimitar Dobrev
|
734b1377f0
|
Fixed the wrapping of functions taking a function pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
d659f04d9d
|
Generated compilable wrappers for functions taking char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
triton
|
e8f219c81c
|
Use foreach instead of explicit for.
|
13 years ago |
triton
|
2916703e4c
|
Refactored enum item generation in CLI backend to use blocks.
|
13 years ago |
triton
|
8c0c76ca59
|
Reworked operator overloading support.
|
13 years ago |
triton
|
7f8f9289a1
|
Run CheckOperatorsOverloadsPass under both backends.
|
13 years ago |
triton
|
c8abdeb192
|
Cleaned up operator overload helpers.
|
13 years ago |
triton
|
5ada754d72
|
Reworked MoveOperatorToClassPass to be simpler and correct.
|
13 years ago |
triton
|
6c1e8fdbbf
|
When generating the internal name for a function, take into account its original function.
|
13 years ago |
triton
|
df01104ab7
|
Fixed GetFunctionNativeIdentifier to work with function operators.
|
13 years ago |
triton
|
a964df9069
|
Renamed HiddenStructureReturn to IndirectReturnType as it is a lot more clear.
|
13 years ago |
Dimitar Dobrev
|
a9d8e8bf03
|
Removed the hard-coded "__" from the CLI back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
5208fafef7
|
Moved GeneratedIdentifier to the base Generator so that the former is available to all back-ends.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
fe1387331d
|
Removed a hard-coded "__".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
cd65094792
|
Fixed the generation of virtual tables to use the new format of internal generated identifiers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
bf2dfd375c
|
Fixed the "ret" conflict in the CLI back-end as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
8312ff0a20
|
Removed the hard-coded "ret" variable.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
01d3779e2b
|
Corrected the generation of the native constructor when in a structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 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>
|
13 years ago |
Dimitar Dobrev
|
f163ceac63
|
Replaced an expression with a variable so that the & operator works.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 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>
|
13 years ago |
Dimitar Dobrev
|
cd8d893601
|
Fixed the class containing context functions to be unsafe.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 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.
|
13 years ago |
triton
|
9dfb30265e
|
Simplified GetFunctionIdentifier and GetFunctionNativeIdentifier.
|
13 years ago |
triton
|
62078d449e
|
Simplified generated code dealing with hidden structure parameters.
|
13 years ago |
triton
|
d8adef816b
|
Copy constructor P/Invokes are now generated in C# backend.
|
13 years ago |
triton
|
e29bc41a59
|
Fixed value returns of classes bound as reference types in CLI backend.
|
13 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>
|
13 years ago |
Dimitar Dobrev
|
26c8f9fcd8
|
Properly fixed the generation of members using fixed arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
79f7fb7b11
|
Generate qualified type names in property setters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
978a400251
|
Removed the "protected" and "virtual" modifiers of "Dispose(bool)" when the containing type is a structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
db1c413f87
|
Ensure safe property and variable names.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
66ea1cd62c
|
Ignore any mangled declaration not found in library symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
9161e58cf8
|
Ignored functions not found in library symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |