[Mono-bugs] [Bug 74909][Wis] Changed - C# - C Interop callbacks crash - but works with dotgnu

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 12 May 2005 08:14:44 -0400 (EDT)


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 jonpryor@vt.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=74909

--- shadow/74909	2005-05-12 07:08:13.000000000 -0400
+++ shadow/74909.tmp.4153	2005-05-12 08:14:44.000000000 -0400
@@ -85,6 +85,14 @@
 
 void (JNICALL * evalF)(int n, double* pX, double* f, double* pDat,
 int* pIdat);
 
 void (JNICALL * evalG)(int n, double* pX, double* pG, double* pDat,
 int* pIdat);
+
+------- Additional Comments From jonpryor@vt.edu  2005-05-12 08:14 -------
+Is the stdcall calling convention required on Linux now as well?  Or
+is it Win32-only?
+
+If stdcall is required on Linux, this change breaks
+Mono.Unix.Stdlib.signal, which needs a cdecl calling convention for
+signal(3).