triton
0302622b00
Remove dependency on the Generator class by explicitly passing the needed services.
13 years ago
triton
e266f3bc71
Update to the new conversion kinds names.
13 years ago
triton
c2c7941187
Pass the TypeMapDatabase explicitly to CLIMarshalManagedToNativePrinter.
13 years ago
triton
7be2a4ef2b
Added support for function to instance method conversions in the CLI generator.
...
This boils down to ignoring the first argument when we are generating the method parameters and calling NativePtr when we need access to the first argument.
13 years ago
triton
5f49a53636
Rework how the struct marshaling from managed to native is done. Now we marshal each field explicitly instead of assuming the struct is made of blittable types.
13 years ago
triton
3d8ea62e4e
Added support for prefix text before the marshaled argument is passed to the wrapped native function.
13 years ago
triton
257a372573
Added support to generate text before and after the argument in CLIMarshal.cs.
13 years ago
triton
47012db6be
Converted CLIMarshal.cs to the new text generator class.
13 years ago
triton
91ef36aad8
Add an explicitly dereference if trying to wrap class-based pointer types when doing class managed to native marshaling.
13 years ago
triton
f28db2f5f1
Add an explicit cast when we have a typedef to a primitive type. This fixes some ambiguity cases when the compiler later performs overload resolution.
13 years ago
triton
ffc96de8f9
Fixed the managed to native marshaling of pointers to primitive types by following typedefs and casting when necessary.
13 years ago
triton
fe7beb5f08
Use the full qualified name for referring to the managed type constructor when doing native to managed marshaling. Use an explicit cast for the first argument. This fixes the case when the type being passed to the constructor is const.
13 years ago
triton
8f02c6a2dd
Handle native to managed marshaling of pointers to primitive types.
13 years ago
triton
b8ebd27841
Added namespace walk support.
13 years ago
triton
dae633b89f
Improved CLI value class marshaling.
13 years ago
triton
da2030c25c
Fixed marshaling of C++ references.
13 years ago
triton
c72c1e1dd6
Stubbed out delegate visiting support.
13 years ago
triton
98e06af6f1
Update CLIMarshal.cs to the new type map database interface.
13 years ago
triton
f5fcef50f1
Massive update to the codebase.
...
- Removed reliance on T4 text templates that were proving to be a portability problem.
- Refactored the generator design to make a little more sense.
- Moved the examples to their own projects.
- Improved the build system to only use one unified output folder.
- Added much improved template support.
- Added work-in-progress C++/CLI generator backend.
- Added the concept of type maps.
13 years ago