207 Commits (fbe5851237c8040c89f5e94b917ad63d4331263f)

Author SHA1 Message Date
Dimitar Dobrev fbe5851237 Added UnmanagedFunctionPointerAttribute to generated delegates to avoid run-time crashes. 12 years ago
Dimitar Dobrev cc77397461 Converted const wchar_t* to string. 12 years ago
Dimitar Dobrev bc14348d5f Generated compilable wrappers for functions taking char*. 12 years ago
Dimitar Dobrev 734b1377f0 Fixed the wrapping of functions taking a function pointer. 12 years ago
Dimitar Dobrev d659f04d9d Generated compilable wrappers for functions taking char*. 12 years ago
triton e8f219c81c Use foreach instead of explicit for. 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 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 cd65094792 Fixed the generation of virtual tables to use the new format of internal generated identifiers. 12 years ago
Dimitar Dobrev 8312ff0a20 Removed the hard-coded "ret" variable. 12 years ago
Dimitar Dobrev 01d3779e2b Corrected the generation of the native constructor when in a structure. 12 years ago
Dimitar Dobrev 64fb8ecbc0 Used the qualified identifier when allocating return values, to handle nested types. 12 years ago
Dimitar Dobrev f163ceac63 Replaced an expression with a variable so that the & operator works. 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. 12 years ago
Dimitar Dobrev cd8d893601 Fixed the class containing context functions to be unsafe. 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 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
Dimitar Dobrev 4f1eba905f Moved all operators not belonging to a type to the type of their first parameters. 12 years ago
Dimitar Dobrev 26c8f9fcd8 Properly fixed the generation of members using fixed arrays. 12 years ago
Dimitar Dobrev 79f7fb7b11 Generate qualified type names in property setters. 12 years ago
Dimitar Dobrev 978a400251 Removed the "protected" and "virtual" modifiers of "Dispose(bool)" when the containing type is a structure. 12 years ago
Dimitar Dobrev db1c413f87 Ensure safe property and variable names. 12 years ago
Dimitar Dobrev 66ea1cd62c Ignore any mangled declaration not found in library symbols. 12 years ago
Dimitar Dobrev 9161e58cf8 Ignored functions not found in library symbols. 12 years ago
triton c490d25e74 Reworked property handling to check if each property getter/setter can be generated. 12 years ago
Dimitar Dobrev 652c6e1011 Stripped "lib" from the beginning of a library name for compatibility with the .NET (that is, on Windows) way of importing DLL-s. 12 years ago
Dimitar Dobrev 58b2529df3 A simple prototype for supporting unions. 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 d59e46bbc3 Removed useless code. 12 years ago
triton 6130c896fc Extracted internal parameter gathering in its own method. 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 beead40dec Fixed handling of field properties in C# backend. 12 years ago
triton d4b4ec6793 Minor code cleanups. 12 years ago
triton d9a23baaf4 Fixed type printing of hidden structure parameters in C#. 12 years ago
triton e5ba3ac401 Reworked C# type printing and marshaling to keep the root full type in the respective contexts. 12 years ago
triton ee3641338c Rework class fields generation in the C# backend to be simpler and behave correctly under more situations. 12 years ago
triton 3e505737d7 Rework the handling for functions that need hidden structure parameters. 12 years ago
triton ebde1312c2 Run the CheckAbiParameters pass after CheckOperatorsOverloadsPass since the latter can change the signature of the methods which can affect the correctness of the first pass. 12 years ago
triton 6814684072 Added virtual function overriding support to the C# backend. 12 years ago