|
From: | Kirill Kononenko |
Subject: | [Pnet-developers] [patch #5337] Marshaling support for gtk# and additional functionality |
Date: | Sun, 27 Aug 2006 20:41:37 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Epiphany/1.4.8 (Debian) |
URL: <http://savannah.gnu.org/patch/?5337> Summary: Marshaling support for gtk# and additional functionality Project: DotGNU Portable.NET Submitted by: krokas Submitted on: Sunday 27/08/06 at 20:41 Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open _______________________________________________________ Details: This patch adds a number of changes in marshaling support code and improves support for gtk# applications. These changes include: - Improve multicast delegates handling. - Handle delegates and multicast delegates differently with direct call to delegate method and __ILJitDelegateInvokeCodeGen respectively. - Improve marshaling to/from Ansi/UTF8/UTF16 strings using the pinvoke record and the ILPInvokeGetMarshalType function. - Inline marshaling intructions and build a call to the native external function directly in the body of the new build function if not defined _IL_JIT_ENABLE_DEBUG (if it is defined build a stub in a second function). - Allow extended marshaling of simple arrays for complex types and strings if defined USE_BYREF_MARSHALING (default is set to 0). - Implement handling of strings that are embedded in stuctures and simple arrays (needed for gtk#/sample/testdnd.exe). - Improve recursive marshaling of arrays and structure by handling the IL_META_MARSHAL_DIRECT flag and the NeedMarshalValue function. - Introduce handling of the IL_META_MARSHAL_CUSTOM flag with two new MarshalCustomToObject and MarshalObjectToCustom functions for objects that support custom marshaling. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sunday 27/08/06 at 20:41 Name: krokas-060828.patch Size: 123.39KB By: krokas <http://savannah.gnu.org/patch/download.php?file_id=10613> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?5337> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |