3 * System.Native PAL internal calls
4 * Adapter code between the Mono runtime and the CoreFX Platform Abstraction Layer (PAL)
5 * Copyright 2018 Microsoft
6 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9 #ifndef __MONO_METADATA_PAL_ICALLS_H__
10 #define __MONO_METADATA_PAL_ICALLS_H__
12 #include "mono/metadata/metadata.h"
13 #include "mono/metadata/class-internals.h"
15 MONO_API
void mono_pal_init (void);
17 extern void mono_marshal_set_last_error (void);
18 extern int32_t SystemNative_Read(intptr_t fd
, void* buffer
, int32_t bufferSize
);
19 gint32
ves_icall_Interop_Sys_Read (intptr_t fd
, gchar
* buffer
, gint32 count
);
21 #if defined(__APPLE__)
22 extern void mono_thread_info_install_interrupt (void (*callback
) (gpointer data
), gpointer data
, gboolean
*interrupted
);
23 extern void mono_thread_info_uninstall_interrupt (gboolean
*interrupted
);
24 void ves_icall_Interop_RunLoop_CFRunLoopRun (void);