[Mono-dev] [PATCH 2/3] Improve MonoPosixHelper internal consistency
jonpryor at vt.edu
Wed Oct 18 08:23:50 EDT 2006
Part of the new create-native-map code generation abilities (see
previous message) is the ability to automatically generate structure
declarations from the managed types, thus removing the need to
hand-write the C structure definitions for use by MonoPosixHelper.
(This also makes things somewhat safer, as it's more difficult to screw
up the structure definition by mis-typing something.)
Attached is a patch for mono/support to make use of these new code
generation capabilities, plus some prototype fixups so that the actual
DllImport declarations found within Mono.Posix.dll better match the
functions within MonoPosixHelper.
There is also has a small fixup for the enumeration translation
functions, accepting a value of 0 *after* checking all other values,
instead of before all other values.
Finally, there are some additional exports for structure conversion, to
be used by Mono.Posix.dll in the next patch request.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 44880 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061018/bd306071/attachment.gz
More information about the Mono-devel-list