2 Commits (add3aba684c367091d67129d1a2b0ed196025ad2)

Author SHA1 Message Date
Trung Nguyen add3aba684
CSharp: More default parameter fixes (#1747) 2 years ago
João Matos 4417dd987a
Code cleanups and improvements (#1713) 2 years ago
josetr 567a0df8c7 Fix FunctionToInstanceMethod 3 years ago
josetr fd058db061 Rename tests 3 years ago
Fabio Anderegg a642691348
Call destructor on copied arguments when calling C# method from C++ (MS ABIs only) (#1685) 3 years ago
josetr 060afd53fc Add partial `ref` param support 3 years ago
josetr 17f69fdf64 Add test for function templates 3 years ago
josetr 37bd7e0155 Add `GenerateNativeToManaged` per-class option 3 years ago
josetr 3414294ab8 Fix FunctionToStaticMethod bug 3 years ago
josetr eb5031bf4c Format files 3 years ago
Joe Hull 1edd5ee5ee
Avoid ArgumentOutOfRangeException in ExpressionHelper.CheckForString (#1649) 3 years ago
Joe Hull 81351632d5
Use WeakReference<T> in NativeToManagedMap to allow finalizers to run. (#1648) 3 years ago
Dimitar Dobrev 5552f2b484 Generate valid C# for pure functions returning or taking dependent pointers 4 years ago
Dimitar Dobrev 0d84877068 Simplify code by not specially handling void** 4 years ago
Dimitar Dobrev 634c231853 Generate valid C# for unions in templates with non-type args 4 years ago
Dimitar Dobrev 50cba5552c Generate valid C# for destructors of templates with dependent fields 4 years ago
Dimitar Dobrev 0e963aa03f Generate valid C# for default args: typedefed refs to enums assigned empty ctors 4 years ago
Dimitar Dobrev 385c5e9387 Ensure valid C# for default args assigned secondary bases 4 years ago
Dimitar Dobrev 4649052f2c Fix templated indexers returning objects 4 years ago
Dimitar Dobrev 6dfabb6273 Generate valid C# for specializations in default args 4 years ago
Dimitar Dobrev c36145b29d Bind default constructors with dependent pointers 4 years ago
Dimitar Dobrev 0255eb732d Resolve overloads with typedef-ed mapped params 4 years ago
Dimitar Dobrev 77e9d0cc75 Ignore a test which only fails with the Linux CI 4 years ago
Albert Szilvasy 24b02e4d86
Fix incorrect dtor call for non-owned instances (#1615) 4 years ago
Joe Hull 748b7b5d03
Add a mechanism to selectively initialize allocated unmanaged memory in the default constructor. 4 years ago
Joe Hull b3a7cd0261
Much improved support for marshaling const char* to string 4 years ago
Joe Hull 03bf194b63 Enhanced ExpressionEvaluator to return implicitly typed uint, long, and ulong values from EvaluateNumber when there is no literal type suffix applied to a numeric expression string. 4 years ago
Joe Hull eb0d4c15f1 bug fix: When generating the get accessor for a field composed of an embedded array of structs use __GetOrCreateInstance to initialize the managed array wrapper rather than __CreateInstance so that __Instance holds a pointer to the memory allocated for the array in the outer struct rather than an independent copy of that memory. 4 years ago
Joe Hull d135ffdb86 bug: Repaired broken alignment padding generation for structs with embedded arrays of structs. Added a test for this case. 4 years ago
Dimitar Dobrev 4405525f3a Make unit tests independent of the generator 5 years ago
josetr f474a7327b Fix typo and move alignment offsets to cpp file 5 years ago
josetr dbbcb6dbdf Upgrade to .NET Core 3.1 and improve build system 5 years ago
josetr f3830b0b2a
Ignore testing the incorrect marshalling of parameters typed const& to primitives 5 years ago
josetr 42dda6b12f
Fix generation of SequentialLayout structures (#1499) 5 years ago
josetr 7791cf6996
Fallback to LayoutKind.Explicit when a custom alignment is specified. (#1476) 5 years ago
josetr 0d32121eee Fix the generation of sequential layouts 5 years ago
josetr e61e9201ec
Fix ambiguous conversion functions (#1458) 5 years ago
josetr a6e0595428
Remove unsupported calling convention usage (#1454) 5 years ago
josetr 8c4465bb11
Fix PInvokeStackImbalance when calling C++ methods (#1453) 5 years ago
josetr 832e4e9eb0
Fix IntPtr array marshalling bug and move hard to read code to CppSharp.Runtime (#1446) 5 years ago
josetr 37c0164072
Add support for const char32_t* and fix const wchar_t* in linux / osx (#1444) 5 years ago
josetr 41f0e9f72b
Fix marshalling for bool arrays (#1439) 5 years ago
josetr c3ca3c241b
Fix wrong [MarshalAs(UnmanagedType)] for strings (#1438) 5 years ago
josetr 6496bf8dae
Basic support for static constexpr variables (#1435) 5 years ago
josetr 397811dc3c
Fix wrong marshalling for static member arrays (#1428) 5 years ago
josetr 73670debbc
Fix anonymous member name colliding with enclosing type name (#1425) 5 years ago
Dimitar Dobrev b5ca0635be Check symbols in tests 5 years ago
Dimitar Dobrev 29c6eb5625 Test overriding from a secondary base for Itanium 5 years ago
Dimitar Dobrev fd15ab6632 Make a test localization-independent of the IDE 5 years ago
Dimitar Dobrev 6fd9078445 Fix the regressed C# marshalling of char* 5 years ago