[Mono-bugs] [Bug 78973][Wis] Changed - Vararg pinvoke calls do not pop variable args
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Aug 7 09:48:51 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78973
--- shadow/78973 2006-08-07 06:48:40.000000000 -0400
+++ shadow/78973.tmp.9534 2006-08-07 09:48:51.000000000 -0400
@@ -71,6 +71,15 @@
implemented in native libraries, i.e. glibc, which has a lot of vararg
functions, many of them very frequently used.
Are there specific issues that make implementing this feature difficult?
Is there any plan to add it for all the architectures?
+
+------- Additional Comments From vargaz at gmail.com 2006-08-07 09:48 -------
+It is difficult to implement, and would require many changes in
+the pinvoke infrastructure.
+
+As I said, a workaround is to define many managed prototypes for the
+same C function in the caller assembly. Its not pretty, but it should
+work.
+
More information about the mono-bugs
mailing list