/**
|
* \file
|
* Copyright 2016 Microsoft
|
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
*/
|
#ifndef __MONO_METADATA_ICALL_INTERNALS_H__
|
#define __MONO_METADATA_ICALL_INTERNALS_H__
|
|
#include <config.h>
|
#include <glib.h>
|
#include <mono/metadata/object-internals.h>
|
|
// UNITY
|
guint32
|
ves_icall_System_CurrentSystemTimeZone_GetTimeZoneData (guint32 year, MonoArray **data, MonoArray **names, MonoBoolean *daylight_inverted);
|
|
// On Windows platform implementation of bellow methods are hosted in separate source file
|
// icall-windows.c or icall-windows-*.c. On other platforms the implementation is still keept
|
// in icall.c still declared as static and in some places even inlined.
|
#ifdef HOST_WIN32
|
void
|
mono_icall_make_platform_path (gchar *path);
|
|
const gchar *
|
mono_icall_get_file_path_prefix (const gchar *path);
|
|
gpointer
|
mono_icall_module_get_hinstance (MonoReflectionModuleHandle module);
|
|
MonoStringHandle
|
mono_icall_get_machine_name (MonoError *error);
|
|
int
|
mono_icall_get_platform (void);
|
|
MonoStringHandle
|
mono_icall_get_new_line (MonoError *error);
|
|
MonoBoolean
|
mono_icall_is_64bit_os (void);
|
|
MonoArray *
|
mono_icall_get_environment_variable_names (MonoError *error);
|
|
void
|
mono_icall_set_environment_variable (MonoString *name, MonoString *value);
|
|
MonoStringHandle
|
mono_icall_get_windows_folder_path (int folder, MonoError *error);
|
|
MonoBoolean
|
mono_icall_broadcast_setting_change (MonoError *error);
|
|
void
|
mono_icall_write_windows_debug_string (MonoString *message);
|
|
gint32
|
mono_icall_wait_for_input_idle (gpointer handle, gint32 milliseconds);
|
#endif /* HOST_WIN32 */
|
|
// On platforms not using classic WIN API support the implementation of bellow methods are hosted in separate source file
|
// icall-windows-*.c. On platforms using classic WIN API the implementation is still keept in icall.c and still declared
|
// static and in some places even inlined.
|
#if !G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
|
MonoArray *
|
mono_icall_get_logical_drives (void);
|
|
guint32
|
mono_icall_drive_info_get_drive_type (MonoString *root_path_name);
|
#endif /* !G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
|
#endif /* __MONO_METADATA_ICALL_INTERNALS_H__ */
|