Dimitar Dobrev
|
816c946790
|
Added a hard-coded for the time being option indicating whether the wrapped lib is 32-bit and used that option to generate the v-table offsets.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
19cb1f5470
|
Added an off by default option for generating abstract implementations because the MS ABI branch does not always work.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
463864e71c
|
Moved the generation of a virtual table call to a separate function, for independence on back-ends.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
449777e245
|
Replaced a hard-coded variable name.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
dfff92bb9f
|
Moved the getting of the access of a class as a string to a separate function.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
da6887ff07
|
Fixed the allocation of internal abstract implementations, and fixed their constructors to take a pointer to the abstract type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
4cfcfa1b16
|
Corrected the implementation of abstract methods to properly handle classes, instance arguments and indirect return types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9752096a4c
|
Fixed a bug in MS mode and added a test.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
06e69225b9
|
Implemented the MS branch of the abstract implementations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a3869c95c5
|
Generated the proper return statements in the abstract implementations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6d2c0eaed8
|
Generated internal implementations of abstract classes in a new pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
f5622306b6
|
Fixed CLITypeReferenceCollector to work correctly with nested namespaces.
Fixes a problem generating the upcoming CLI-free C++ parser.
|
12 years ago |
triton
|
14718b915f
|
Added a ToString() to CLITypeReference for better debug output.
|
12 years ago |
triton
|
17a8a4cbdc
|
Fixed generation of native object instantiation to use the original names.
|
12 years ago |
triton
|
c66c34d4a9
|
Renamed the CLI language generator kind to be more uniform.
|
12 years ago |
triton
|
c93e77166c
|
Added a new option GenerateInternalImports that outputs "__Internal" as the library name for DllImports. Fixes #54.
For more details about what it does: http://www.mono-project.com/Embedding_Mono#Exposing_C_code_to_the_CIL_universe).
|
12 years ago |
triton
|
365862419e
|
Fixed support for classes with trivial default constructors.
|
12 years ago |
triton
|
279c9c83cf
|
Fixed wrapping of null pointers to actually return null CLR references.
|
12 years ago |
triton
|
fb00f8e7b5
|
Improved the CLI include collector to keep track of originating translation units.
|
12 years ago |
Dimitar Dobrev
|
0f5e27f939
|
Fixed a bug that caused the generation of the uncompilable expression "&*IntPtr".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
0fcb5c0226
|
Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object.
|
12 years ago |
triton
|
3771834bdd
|
Fixed marshaling of function pointer typedefs in CLI generator.
|
12 years ago |
triton
|
8bad119d7d
|
Fixed marshaling of pointers to classes in CLI generator.
|
12 years ago |
triton
|
2981c497dc
|
Remove extra newline from the output.
|
12 years ago |
triton
|
02559ed193
|
Added better support for unary operators.
|
12 years ago |
triton
|
cf8eaa3a35
|
Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object.
|
12 years ago |
triton
|
aa0a78abf5
|
Fixed marshaling of function pointer typedefs in CLI generator.
|
12 years ago |
triton
|
05c020f301
|
Fixed marshaling of pointers to classes in CLI generator.
|
12 years ago |
triton
|
0c64c06271
|
Remove extra newline from the output.
|
12 years ago |
triton
|
a4f1606956
|
Added better support for unary operators.
|
12 years ago |
Dimitar Dobrev
|
1fc9880be9
|
Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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>
|
12 years ago |
Dimitar Dobrev
|
0ae181b2cf
|
Added suffixes to generated variables to avoid conflicts.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fbe5851237
|
Added UnmanagedFunctionPointerAttribute to generated delegates to avoid run-time crashes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
cc77397461
|
Converted const wchar_t* to string.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
bc14348d5f
|
Generated compilable wrappers for functions taking char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
639fddb0bc
|
Reworked C++/CLI pointer type printing.
|
12 years ago |
Dimitar Dobrev
|
734b1377f0
|
Fixed the wrapping of functions taking a function pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d659f04d9d
|
Generated compilable wrappers for functions taking char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
e8f219c81c
|
Use foreach instead of explicit for.
|
12 years ago |
triton
|
2916703e4c
|
Refactored enum item generation in CLI backend to use blocks.
|
12 years ago |
triton
|
8c0c76ca59
|
Reworked operator overloading support.
|
12 years ago |
triton
|
7f8f9289a1
|
Run CheckOperatorsOverloadsPass under both backends.
|
12 years ago |
triton
|
c8abdeb192
|
Cleaned up operator overload helpers.
|
12 years ago |
triton
|
5ada754d72
|
Reworked MoveOperatorToClassPass to be simpler and correct.
|
12 years ago |
triton
|
6c1e8fdbbf
|
When generating the internal name for a function, take into account its original function.
|
12 years ago |
triton
|
df01104ab7
|
Fixed GetFunctionNativeIdentifier to work with function operators.
|
12 years ago |
triton
|
a964df9069
|
Renamed HiddenStructureReturn to IndirectReturnType as it is a lot more clear.
|
12 years ago |
Dimitar Dobrev
|
a9d8e8bf03
|
Removed the hard-coded "__" from the CLI back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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>
|
12 years ago |