[Mono-dev] marshal.c changed to fix minimal build with cominterop disabled mistake - #ifdef DISABLE_COM instead of #ifndef DISABLE_COM

Tom Hindle tom_hindle at sil.org
Wed Sep 2 14:50:00 EDT 2009

in this change:

r140524 | kumpera | 2009-08-24 10:58:23 -0600 (Mon, 24 Aug 2009) | 6

2009-08-24  Rodrigo Kumpera  <rkumpera at novell.com>

* marshal.c (mono_array_to_lparray): Fix minimal build with
cominterop disabled.

* marshal.c (mono_free_lparray): Same.


#ifdef DISABLE_COM was added 

but I think maybe #ifndef DISABLE_COM was intended.

Also in mono_array_to_lparray under case MONO_TYPE_CLASS the following
was added:

g_assert_not_reached ();

this breaks our application - can anyone let me know why this was done?


More information about the Mono-devel-list mailing list