Re: [Mono-dev] GC precision

2014-08-08 Thread Zoltán Tóth
Thank you Miguel for the answer, So does MONO_GC_PARAMS=stack-mark=precise give me TOTALLY precise scanning? The reasons i insist questioning are that the Release notes page of v_2.10 [1] says that it gives me only mostly precise fashion [though obviously its effect could have changed since

Re: [Mono-dev] GC precision

2014-08-08 Thread Miguel de Icaza
Mono 2.10 is more than 3 years old. Precise stack marking only became available a year after that. Miguel On Fri, Aug 8, 2014 at 5:40 AM, Zoltán Tóth kotem.t...@gmail.com wrote: Thank you Miguel for the answer, So does MONO_GC_PARAMS=stack-mark=precise give me TOTALLY precise scanning?

[Mono-dev] mono_fntptr_to_delegate

2014-08-08 Thread Bruno Lauze
Hi, I am sure someone can help me out. At one point this code did work. I changed something and/or I just reinstalled latest trunk and it broke. I am trying to pass C delegate to C#. Everything is working C# is calling back the method but the parameters seems to be invalid pointers. The C

Re: [Mono-dev] mono_fntptr_to_delegate

2014-08-08 Thread Robert Jordan
Bruno, Marshal.GetDelegateFromFunctionPointer() and mono_ftnptr_to_delegate only work on functions with p/invoke-compatible signatures. This means that you can't pass MonoObjects* to these functions. You can only declare and pass p/invoke-compatible arguments. There is also no *this* pointer