Author: marek
Date: 2005-12-01 11:51:50 -0500 (Thu, 01 Dec 2005)
New Revision: 53774
Modified:
trunk/mcs/tests/test-473.cs
Log:
more tests.
Modified: trunk/mcs/tests/test-473.cs
===================================================================
--- trunk/mcs/tests/test-473.cs 2005-12-01 16:50:48 UTC (rev 53773)
+++ trunk/mcs/tests/test-473.cs 2005-12-01 16:51:50 UTC (rev 53774)
@@ -1,4 +1,5 @@
-using System;
+using System;
+using System.Runtime.InteropServices;
[Obsolete ("Use Errno", true)]
public enum Error {
@@ -19,6 +20,13 @@
return null;
}
}
+
+[Obsolete ("Use Native.Stdlib", true)]
+public class Stdlib {
+ internal const string LIBC = "msvcrt.dll";
+ [DllImport (LIBC)]
+ public static extern IntPtr signal (int signum, IntPtr handler);
+}
class Test {
public static void Main () {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches