97 Commits (a2b8614f54f14692c6caa7f6eb2637e9c73c1a69)

Author SHA1 Message Date
Dimitar Dobrev a2b8614f54 Improved the support for constructor expressions. 10 years ago
Dimitar Dobrev 78c3db80aa Fixed incompilable code when a virtual function has ref params. 10 years ago
Pedro Miguel Casaleiro Dias ed3e0bd54a closes #514. 10 years ago
Dimitar Dobrev 86bd6bd118 Fixed the names when marshalling enum parameters in the C# end. 10 years ago
Dimitar Dobrev de0392ca1e Fixed a bug when a function returns an abstract class contained in a dependency. 10 years ago
Dimitar Dobrev 77369b50c5 Removed the option for abstract impls enabling them by default for the C# generator. 10 years ago
João Matos 6917008a4b Use the qualified class name when handling returned class pointers. 10 years ago
triton ea4ce03e92 Use the qualified class name when casting the object from the native/managed map. 10 years ago
triton 14e53b523f Cast when creating new object instances since CreateInstance returns the base type. 10 years ago
Dimitar Dobrev 73e9455821 Put own (created in managed code) objects in the object map upon creation. 10 years ago
Dimitar Dobrev 84d8af2396 Added a mapping between native object and their managed wrappers. 10 years ago
João Matos a7443265a0 Fixed marshalling of `const char**` types in C#. 10 years ago
Dimitar Dobrev c7253b456b Fixed the assigment of structs with private fields. 11 years ago
Dimitar Dobrev e6223a1c4c Fixed 4 bugs related to custom comparison operators. 11 years ago
Dimitar Dobrev bc140e13be Changed the native ctors by value to also be wrapped by static methods. 11 years ago
triton 6bd26ac443 Improved wide char handling in the C# and CLI. 11 years ago
Dimitar Dobrev c4b48cf185 Fixed some problems with arrays of void after mapping void* to IntPtr. 11 years ago
Dimitar Dobrev 30cb2cbe85 Fixed an ambiguity between an internal ctor and a potential wrapped one. 11 years ago
Dimitar Dobrev 0e8a6e368c Moved the code for creating a ref object by value from the marshalling printer to a valid ctor by value. 11 years ago
Dimitar Dobrev dddd165001 Fixed the generation of a null check before returning a value. 11 years ago
Dimitar Dobrev a7d0ef13f9 Removed a needless renaming of parameters. 11 years ago
Tom Spilman 7e8f743228 Fixed const char string CS_IN_OUT case. 11 years ago
Tom Spilman d4e4aaffad Fixed CLI and CSharp support for out parameter const char strings. 11 years ago
Tom Spilman 47e7e68c12 Fixed IsInOut primitives to correctly pass the input value to the native code. 11 years ago
Tom Spilman f60d267168 This fixes out or in/out enum parameters to generate correctly. 11 years ago
Tomi Valkeinen 7289a06b9e Rename PrimitiveType Int32 and UInt32 to Int and UInt 11 years ago
Tomi Valkeinen c702e928e8 Rename PrimitiveType Int64 and UInt64 to LongLong and ULongLong 11 years ago
Tomi Valkeinen 065570de74 Rename PrimitiveType Int16 and UInt16 to Short and UShort 11 years ago
Tomi Valkeinen 1cd9f0a16c Remove PrimitiveTypes Int8 and UInt8 11 years ago
Tomi Valkeinen 3902dd4acc Add PrimitiveTypes Long and ULong 11 years ago
triton eb2bbba883 Added better support for nullptr_t types. 11 years ago
marcos henrich de764599fa Separated IsTagDecl into TryGetClass and TryGetEnum, added IsClass() and IsEnum(). 11 years ago
marcos henrich 3f96bdbfe3 Replaced declaration IgnoreFlags by GenerationKind. Added methods IsInternal and IsDeclared to declaration. Replaced IsGenerated = true by GeneratioKind = GeneratioKind.Internal. Deprecated Ignore, replace Ignore set by ExplicityIgnored, replace Ignore get by IsGenerated, IsInternal or IsDeclared. 11 years ago
triton 2ebce723ae Use SafeIdentifier when writing parameter names in the C# marshaller. 11 years ago
triton 5e0cd3112a Fixed marshaling of wide characters in the C# backend. 11 years ago
triton fec8b00d8e Added marshaling of function types to C# backend. 11 years ago
triton 21efb8fc83 Fixed a bug by removing this weird looking code from the C# marshaller. 11 years ago
triton 08255907de Fixed C# and CLI backends to check for null values when marshaling classes. 11 years ago
Øystein Krog d3e963ff19 Move helper methods in Type out from class and into extension class TypeExtensions 11 years ago
Dimitar Dobrev 99849da1d1 Added preliminary support for char16 to avoid crashes because of null parameter types. 12 years ago
Dimitar Dobrev 85e56de487 Applied Helpers.SafeIdentifier in the name-cleaning pass in order to get correct names in type maps. 12 years ago
Dimitar Dobrev d92bc31a71 Replaced a call to == with ReferenceEquals when checking for null to avoid cycles in == operators. 12 years ago
Dimitar Dobrev fe6378a88a Added an additional property to type maps indicating if they actually provide marshalling (useful if only copy constructors are replaced). 12 years ago
Dimitar Dobrev cfeed2619a Extended type maps with the ability to insert custom code instead of a copy ctor invocation. 12 years ago
Dimitar Dobrev 4c5d933cd2 Added support for marshalling arrays of pointers to primitives. 12 years ago
Dimitar Dobrev aa5b66a4ab Wrapped fields of structures with properties. 12 years ago
Dimitar Dobrev 227e592c1a Improved the marshalling of arrays. 12 years ago
triton 62f81e16f1 Reworked pointer marshaling in C# and CLI. 12 years ago
triton c8b0f515b3 Fixed parsing and marshaling of dependent declarations. 12 years ago
Dimitar Dobrev 8a502835f7 Added a check for 'null' before getting the native pointer of a wrapped object. 12 years ago