少年修仙传客户端基础资源
hch
2024-04-01 d01413b00ef631ac20347716b23818b0b811f65f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/**
 * \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__ */