[Mono-list] gtk-sharp problem

Dietmar Maurer dietmar@ximian.com
23 Jul 2002 09:09:48 +0200


On Tue, 2002-07-23 at 07:05, Mike Kestner wrote:
> Okay, so I hacked ref params for value types into the Gtk# code
> generator and:
> 
> [mike@localhost gtk-sharp]$ mono sample/button.exe
> connecting delete_event with key 0
> 
> ** ERROR **: file marshal.c: line 1689
> (mono_marshal_get_managed_wrapper): should not be reached
> aborting...
> Trace/breakpoint trap
> 
> which is triggered by:
> 
>                 if (t->byref) {
>                         /* fixme: */
>                         g_assert_not_reached ();
>                 }
> 
> So I'm assuming you knew this would blow up on me when I got here?  :)

Yes, thats why I suggested the IntPtr approach.

- Dietmar