// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
-//
+//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
-//
+//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
namespace Mono {
+#if MOBILE
+ public
+#endif
static class Runtime
{
-
+
[MethodImplAttribute (MethodImplOptions.InternalCall)]
private static extern void mono_runtime_install_handlers ();
-
+
static internal void InstallSignalHandlers ()
{
mono_runtime_install_handlers ();
// Safe to be called using reflection
// Format is undefined only for use as a string for reporting
[MethodImplAttribute (MethodImplOptions.InternalCall)]
- internal static extern string GetDisplayName ();
+#if MOBILE
+ public
+#else
+ internal
+#endif
+ static extern string GetDisplayName ();
[MethodImplAttribute (MethodImplOptions.InternalCall)]
- public static extern string GetNativeStackTrace (Exception exception);
+ static extern string GetNativeStackTrace (Exception exception);
- [MethodImplAttribute (MethodImplOptions.InternalCall)]
- public static extern bool SetGCAllowSynchronousMajor (bool flag);
+ public static bool SetGCAllowSynchronousMajor (bool flag)
+ {
+ // No longer used
+ return true;
+ }
}
-
}