31 Commits (8e6cf14a37ccb9bf052bc28d2ec390ae57defab5)

Author SHA1 Message Date
Dimitar Dobrev 0f5e27f939 Fixed a bug that caused the generation of the uncompilable expression "&*IntPtr". 12 years ago
Dimitar Dobrev 0ae181b2cf Added suffixes to generated variables to avoid conflicts. 12 years ago
Dimitar Dobrev bc14348d5f Generated compilable wrappers for functions taking char*. 12 years ago
Dimitar Dobrev d659f04d9d Generated compilable wrappers for functions taking char*. 12 years ago
Dimitar Dobrev 5208fafef7 Moved GeneratedIdentifier to the base Generator so that the former is available to all back-ends. 12 years ago
Dimitar Dobrev fe1387331d Removed a hard-coded "__". 12 years ago
Dimitar Dobrev f163ceac63 Replaced an expression with a variable so that the & operator works. 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
Dimitar Dobrev 79f7fb7b11 Generate qualified type names in property setters. 12 years ago
Dimitar Dobrev db1c413f87 Ensure safe property and variable names. 12 years ago
triton e650d7decf Desugar pointer types when checking for primitive types while marshaling. 12 years ago
triton cc5a8656b8 Added marshaling of parameter declarations in native to managed marshaling of C# backend. 12 years ago
triton 5c34245276 Throw NotImplementedException instead of silently returning false when not able to handle type printing of primitive types in C# backend. 12 years ago
triton eb909c6fba Added an "argument prefix" generator to the C# context so typemaps can add prefixes before arguments are generated. 12 years ago
triton e5ba3ac401 Reworked C# type printing and marshaling to keep the root full type in the respective contexts. 12 years ago
Dimitar Dobrev ef1828d710 Checked the desugared type when visiting pointer types. 12 years ago
Bright Twin 7c19f5f7db Added global:: prefix to all System.IntPtr references in the C# code generator. 12 years ago
triton 68ddfbdd6f Move the AST project to the CppSharp.AST namespace. 12 years ago
triton 6b5f218258 Use the previously declared local variable. 12 years ago
triton 2301f4c7a9 Improved support for arrays in the marshaler. 12 years ago
triton 6759ec6754 Added better support for out parameters in the marshaler. 12 years ago
triton c6995fed90 Simplified the marshaling code by just calling generated methods to do the marshaling instead of doing full marshaling in each instance. 12 years ago
triton 8c111d5c76 Fixed marshaling to work with the new unsafe pointers which simplified the code a lot. 12 years ago
triton 5037e8b6b0 Unify handling of pointers to primitive types. 12 years ago
triton 3a22b39ec0 Re-work the marshaler to make sure we visit the canonical Type and Decl overloads and do proper type map handling. 12 years ago
triton e57e22e3b8 Wrap the Instance identifier name into its own property and change the code to use it. 12 years ago
triton cc8f7cd1db Renamed Cxxi references to CppSharp. 12 years ago
triton 3912d4a5d9 Added improved support for C# marshaling of types. 12 years ago
triton bbd94f4983 Type printing fixes for the C# backend. 12 years ago
triton 5da498e3f1 Replace the walkTypedefs parameter with Desugar() as it is more clean. 12 years ago
triton a28eeaaf0d Added a massively improved C# backend that is based on the binding logic of the CLI backend. 12 years ago
triton 163082f13e Implemented managed to native marshaling of template parameter types. 12 years ago
triton 267c2ac7c3 Added support for marshaling of wide char in addition to regular chars. 12 years ago
triton 6f7e7908e8 Added proper wrapping of value type method calls in the CLI backend. 12 years ago
triton a9392afa50 Extract the MarshalContext and MarshalPrinter classes into their own file. 12 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 12 years ago
marcos henrich 0b6e7c9c80 Add support to ignore value class fields 12 years ago
marcos henrich a4d066878c Pushed driver into MarshalContext 12 years ago
marcos henrich a388d96b28 Context.SupportBefore and Context.SupportAfter are not printed with a newline at the end anymore 12 years ago
marcos henrich 7d8869d889 Refactored marshal printers, marshal context 12 years ago
marcos henrich 515e1ed4a0 Checks if pointer fields are initialized before getting their native pointer 12 years ago
marcos henrich 874ea01b0e Recursive Marshaling of value class fields 12 years ago
triton 6071eddee9 Fixed value class marshaling code to supported nested types. 12 years ago
triton 6f7c38e890 Removed obsolete code. 12 years ago
triton 595e42b880 Added native to managed marshaling of function pointers. 12 years ago
triton 74a7b5bd37 Fixed marshaling of pointer to primitive types. 12 years ago
triton 9f029047ad Added parsing, AST and visitor stubs support for (class static) variables. 12 years ago
triton d8de32b177 Pass the current type when calling type maps. 12 years ago
triton 48f401495a Pass the driver (options) to CLITypePrinter since we need it for declaration name printing. 12 years ago
triton b208d7b588 Rework the CLI generator to actually handle (nested) namespaces propertly. 13 years ago