dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/include il_coder.h,1.45,1.46


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_coder.h,1.45,1.46
Date: Mon, 28 Jul 2003 02:39:48 -0400

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv7218/include

Modified Files:
        il_coder.h 
Log Message:


Parameter marshalling.


Index: il_coder.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_coder.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** il_coder.h  28 Jul 2003 03:56:24 -0000      1.45
--- il_coder.h  28 Jul 2003 06:39:46 -0000      1.46
***************
*** 753,756 ****
--- 753,770 ----
  
        /*
+        * Output an instruction to convert the top of stack according
+        * to a PInvoke marshalling rule.
+        */
+       void (*convert)(ILCoder *coder, int opcode);
+ 
+       /*
+        * Output an instruction to convert the top of stack according
+        * to a custom marshalling rule.
+        */
+       void (*convertCustom)(ILCoder *coder, int opcode,
+                                                 ILUInt32 customNameLen, 
ILUInt32 customCookieLen,
+                                                 void *customName, void 
*customCookie);
+ 
+       /*
         * Sentinel string to catch missing methods in class tables.
         */
***************
*** 1014,1017 ****
--- 1028,1039 ----
  #define       ILCoderCheckNull(coder) \
                        ((*((coder)->classInfo->checkNull))((coder)))
+ #define       ILCoderConvert(coder,opcode) \
+                       ((*((coder)->classInfo->convert))((coder), (opcode)))
+ #define       
ILCoderConvertCustom(coder,opcode,customNameLen,customCookieLen,customName,customCookie)
 \
+                       ((*((coder)->classInfo->convertCustom))((coder), 
(opcode), \
+                                                                               
                        (customNameLen), \
+                                                                               
                        (customCookieLen), \
+                                                                               
                        (customName), \
+                                                                               
                        (customCookie)))
  #define       ILCoderMarkEnd(coder) \
                        ((*((coder)->classInfo->markEnd))((coder)))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]