[Mono-dev] Confused about "mono_array_to_lparray" function

Laurent Etiemble laurent.etiemble at gmail.com
Mon Dec 28 05:10:35 EST 2009


Hello,

I have a question regarding the "mono_array_to_lparray" function found in
"mono/metadata/marshal.c:551".

Almost all the function body is decorated by a "#ifndef DISABLE_COM" define
that I have hard time to understand:
- If DISABLE_COM is defined (whatever the value), the code is included in
the build.
- If DISABLE_COM is not defined, the code is excluded from the build.

After reading the change logs (rev #139201, #140524, #141169) and the
associated bug report that lead to the code (#467509), I am still confused:
- Is the decorated code meant to be included when COM Interop is enabled or
disabled ?

Regards, Laurent Etiemble.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091228/0a624f5e/attachment.html 


More information about the Mono-devel-list mailing list