Skip to content
Browse files

Wed Oct 11 17:27:05 CEST 2006 Paolo Molaro <lupus@ximian.com>

	* console-io.h, filewatcher.h, locales.h, marshal.h, monitor.h,
	process.h, rand.h, rawbuffer.h, security-manager.h, security.h,
	socket-io.h, string-icalls.h, sysmath.h, threadpool-internals.h,
	threadpool.h, threads-types.h: mark more internal functions.


svn path=/trunk/mono/; revision=66559
  • Loading branch information...
1 parent e33854c commit 7120de6152fa4593b8341ac1537354e3ebc6196e @illupus illupus committed Oct 11, 2006
View
8 mono/metadata/ChangeLog
@@ -1,3 +1,11 @@
+
+Wed Oct 11 17:27:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+ * console-io.h, filewatcher.h, locales.h, marshal.h, monitor.h,
+ process.h, rand.h, rawbuffer.h, security-manager.h, security.h,
+ socket-io.h, string-icalls.h, sysmath.h, threadpool-internals.h,
+ threadpool.h, threads-types.h: mark more internal functions.
+
2006-10-11 Dick Porter <dick@ximian.com>
* socket-io.c (ves_icall_System_Net_Sockets_Socket_Poll_internal):
View
14 mono/metadata/console-io.h
@@ -18,13 +18,13 @@
G_BEGIN_DECLS
-MonoBoolean ves_icall_System_ConsoleDriver_Isatty (HANDLE handle);
-gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout);
-MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean echo);
-MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break);
-MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *teardown, char *verase, char *vsusp, char *intr);
-MonoBoolean ves_icall_System_ConsoleDriver_GetTtySize (HANDLE handle, gint32 *width, gint32 *height);
-void ves_icall_System_ConsoleDriver_Suspend (void);
+MonoBoolean ves_icall_System_ConsoleDriver_Isatty (HANDLE handle) MONO_INTERNAL;
+gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout) MONO_INTERNAL;
+MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean echo) MONO_INTERNAL;
+MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break) MONO_INTERNAL;
+MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *teardown, char *verase, char *vsusp, char *intr) MONO_INTERNAL;
+MonoBoolean ves_icall_System_ConsoleDriver_GetTtySize (HANDLE handle, gint32 *width, gint32 *height) MONO_INTERNAL;
+void ves_icall_System_ConsoleDriver_Suspend (void) MONO_INTERNAL;
G_END_DECLS
View
17 mono/metadata/filewatcher.h
@@ -12,6 +12,7 @@
#include <mono/metadata/object.h>
#include <mono/io-layer/io-layer.h>
+#include "mono/utils/mono-compiler.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
@@ -23,28 +24,28 @@
G_BEGIN_DECLS
-gboolean ves_icall_System_IO_FSW_SupportsFSW (void);
+gboolean ves_icall_System_IO_FSW_SupportsFSW (void) MONO_INTERNAL;
-gpointer ves_icall_System_IO_FSW_OpenDirectory (MonoString *path, gpointer reserved);
+gpointer ves_icall_System_IO_FSW_OpenDirectory (MonoString *path, gpointer reserved) MONO_INTERNAL;
-gboolean ves_icall_System_IO_FSW_CloseDirectory (gpointer handle);
+gboolean ves_icall_System_IO_FSW_CloseDirectory (gpointer handle) MONO_INTERNAL;
gboolean ves_icall_System_IO_FSW_ReadDirectoryChanges (
gpointer handle,
MonoArray *buffer,
gboolean includeSubdirs,
gint filters,
gpointer overlap,
- gpointer callback);
+ gpointer callback) MONO_INTERNAL;
gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
MonoString **filename,
gint *code,
- gint *reqnum);
+ gint *reqnum) MONO_INTERNAL;
-int ves_icall_System_IO_InotifyWatcher_GetInotifyInstance (void);
-int ves_icall_System_IO_InotifyWatcher_AddWatch (int fd, MonoString *directory, gint32 mask);
-int ves_icall_System_IO_InotifyWatcher_RemoveWatch (int fd, gint32 watch_descriptor);
+int ves_icall_System_IO_InotifyWatcher_GetInotifyInstance (void) MONO_INTERNAL;
+int ves_icall_System_IO_InotifyWatcher_AddWatch (int fd, MonoString *directory, gint32 mask) MONO_INTERNAL;
+int ves_icall_System_IO_InotifyWatcher_RemoveWatch (int fd, gint32 watch_descriptor) MONO_INTERNAL;
G_END_DECLS
View
48 mono/metadata/locales.h
@@ -26,32 +26,32 @@ typedef enum {
CompareOptions_Ordinal=0x40000000
} MonoCompareOptions;
-extern void ves_icall_System_Globalization_CultureInfo_construct_internal_locale (MonoCultureInfo *this, MonoString *locale);
-extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_current_locale (MonoCultureInfo *ci);
-extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_lcid (MonoCultureInfo *this, gint lcid);
-extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_name (MonoCultureInfo *this, MonoString *name);
-extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_specific_name (MonoCultureInfo *ci, MonoString *name);
-extern MonoArray *ves_icall_System_Globalization_CultureInfo_internal_get_cultures (MonoBoolean neutral, MonoBoolean specific, MonoBoolean installed);
-extern MonoBoolean ves_icall_System_Globalization_CultureInfo_internal_is_lcid_neutral (gint lcid, MonoBoolean *is_neutral);
-extern void ves_icall_System_Globalization_CultureInfo_construct_datetime_format (MonoCultureInfo *this);
-extern void ves_icall_System_Globalization_CultureInfo_construct_number_format (MonoCultureInfo *this);
-extern void ves_icall_System_Globalization_CompareInfo_construct_compareinfo (MonoCompareInfo *comp, MonoString *locale);
-extern int ves_icall_System_Globalization_CompareInfo_internal_compare (MonoCompareInfo *this, MonoString *str1, gint32 off1, gint32 len1, MonoString *str2, gint32 off2, gint32 len2, gint32 options);
-extern void ves_icall_System_Globalization_CompareInfo_free_internal_collator (MonoCompareInfo *this);
+extern void ves_icall_System_Globalization_CultureInfo_construct_internal_locale (MonoCultureInfo *this, MonoString *locale) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_current_locale (MonoCultureInfo *ci) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_lcid (MonoCultureInfo *this, gint lcid) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_name (MonoCultureInfo *this, MonoString *name) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_specific_name (MonoCultureInfo *ci, MonoString *name) MONO_INTERNAL;
+extern MonoArray *ves_icall_System_Globalization_CultureInfo_internal_get_cultures (MonoBoolean neutral, MonoBoolean specific, MonoBoolean installed) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Globalization_CultureInfo_internal_is_lcid_neutral (gint lcid, MonoBoolean *is_neutral) MONO_INTERNAL;
+extern void ves_icall_System_Globalization_CultureInfo_construct_datetime_format (MonoCultureInfo *this) MONO_INTERNAL;
+extern void ves_icall_System_Globalization_CultureInfo_construct_number_format (MonoCultureInfo *this) MONO_INTERNAL;
+extern void ves_icall_System_Globalization_CompareInfo_construct_compareinfo (MonoCompareInfo *comp, MonoString *locale) MONO_INTERNAL;
+extern int ves_icall_System_Globalization_CompareInfo_internal_compare (MonoCompareInfo *this, MonoString *str1, gint32 off1, gint32 len1, MonoString *str2, gint32 off2, gint32 len2, gint32 options) MONO_INTERNAL;
+extern void ves_icall_System_Globalization_CompareInfo_free_internal_collator (MonoCompareInfo *this) MONO_INTERNAL;
extern MonoBoolean
-ves_icall_System_Globalization_RegionInfo_construct_internal_region_from_lcid (MonoRegionInfo *this, gint lcid);
+ves_icall_System_Globalization_RegionInfo_construct_internal_region_from_lcid (MonoRegionInfo *this, gint lcid) MONO_INTERNAL;
extern MonoBoolean
ves_icall_System_Globalization_RegionInfo_construct_internal_region_from_name (MonoRegionInfo *this,
- MonoString *name);
-extern void ves_icall_System_Globalization_CompareInfo_assign_sortkey (MonoCompareInfo *this, MonoSortKey *key, MonoString *source, gint32 options);
-extern int ves_icall_System_Globalization_CompareInfo_internal_index (MonoCompareInfo *this, MonoString *source, gint32 sindex, gint32 count, MonoString *value, gint32 options, MonoBoolean first);
-extern int ves_icall_System_Globalization_CompareInfo_internal_index_char (MonoCompareInfo *this, MonoString *source, gint32 sindex, gint32 count, gunichar2 value, gint32 options, MonoBoolean first);
-extern int ves_icall_System_Threading_Thread_current_lcid (void);
-extern MonoString *ves_icall_System_String_InternalReplace_Str_Comp (MonoString *this, MonoString *old, MonoString *new, MonoCompareInfo *comp);
-extern MonoString *ves_icall_System_String_InternalToLower_Comp (MonoString *this, MonoCultureInfo *cult);
-extern MonoString *ves_icall_System_String_InternalToUpper_Comp (MonoString *this, MonoCultureInfo *cult);
-extern gunichar2 ves_icall_System_Char_InternalToUpper_Comp (gunichar2 c, MonoCultureInfo *cult);
-extern gunichar2 ves_icall_System_Char_InternalToLower_Comp (gunichar2 c, MonoCultureInfo *cult);
-extern void load_normalization_resource (guint8 **argProps, guint8** argMappedChars, guint8** argCharMapIndex, guint8** argHelperIndex, guint8** argMapIdxToComposite, guint8** argCombiningClass);
+ MonoString *name) MONO_INTERNAL;
+extern void ves_icall_System_Globalization_CompareInfo_assign_sortkey (MonoCompareInfo *this, MonoSortKey *key, MonoString *source, gint32 options) MONO_INTERNAL;
+extern int ves_icall_System_Globalization_CompareInfo_internal_index (MonoCompareInfo *this, MonoString *source, gint32 sindex, gint32 count, MonoString *value, gint32 options, MonoBoolean first) MONO_INTERNAL;
+extern int ves_icall_System_Globalization_CompareInfo_internal_index_char (MonoCompareInfo *this, MonoString *source, gint32 sindex, gint32 count, gunichar2 value, gint32 options, MonoBoolean first) MONO_INTERNAL;
+extern int ves_icall_System_Threading_Thread_current_lcid (void) MONO_INTERNAL;
+extern MonoString *ves_icall_System_String_InternalReplace_Str_Comp (MonoString *this, MonoString *old, MonoString *new, MonoCompareInfo *comp) MONO_INTERNAL;
+extern MonoString *ves_icall_System_String_InternalToLower_Comp (MonoString *this, MonoCultureInfo *cult) MONO_INTERNAL;
+extern MonoString *ves_icall_System_String_InternalToUpper_Comp (MonoString *this, MonoCultureInfo *cult) MONO_INTERNAL;
+extern gunichar2 ves_icall_System_Char_InternalToUpper_Comp (gunichar2 c, MonoCultureInfo *cult) MONO_INTERNAL;
+extern gunichar2 ves_icall_System_Char_InternalToLower_Comp (gunichar2 c, MonoCultureInfo *cult) MONO_INTERNAL;
+extern void load_normalization_resource (guint8 **argProps, guint8** argMappedChars, guint8** argCharMapIndex, guint8** argHelperIndex, guint8** argMapIdxToComposite, guint8** argCombiningClass) MONO_INTERNAL;
#endif /* _MONO_METADATA_FILEIO_H_ */
View
246 mono/metadata/marshal.h
@@ -25,383 +25,383 @@ typedef struct _MonoMethodBuilder MonoMethodBuilder;
/* marshaling helper functions */
void
-mono_marshal_init (void);
+mono_marshal_init (void) MONO_INTERNAL;
void
-mono_marshal_cleanup (void);
+mono_marshal_cleanup (void) MONO_INTERNAL;
gint32
-mono_class_native_size (MonoClass *klass, guint32 *align);
+mono_class_native_size (MonoClass *klass, guint32 *align) MONO_INTERNAL;
MonoMarshalType *
-mono_marshal_load_type_info (MonoClass* klass);
+mono_marshal_load_type_info (MonoClass* klass) MONO_INTERNAL;
gint32
mono_marshal_type_size (MonoType *type, MonoMarshalSpec *mspec, guint32 *align,
- gboolean as_field, gboolean unicode);
+ gboolean as_field, gboolean unicode) MONO_INTERNAL;
int
-mono_type_native_stack_size (MonoType *type, guint32 *alignment);
+mono_type_native_stack_size (MonoType *type, guint32 *alignment) MONO_INTERNAL;
gpointer
-mono_array_to_savearray (MonoArray *array);
+mono_array_to_savearray (MonoArray *array) MONO_INTERNAL;
gpointer
-mono_array_to_lparray (MonoArray *array);
+mono_array_to_lparray (MonoArray *array) MONO_INTERNAL;
void
-mono_string_utf8_to_builder (MonoStringBuilder *sb, char *text);
+mono_string_utf8_to_builder (MonoStringBuilder *sb, char *text) MONO_INTERNAL;
void
-mono_string_utf16_to_builder (MonoStringBuilder *sb, gunichar2 *text);
+mono_string_utf16_to_builder (MonoStringBuilder *sb, gunichar2 *text) MONO_INTERNAL;
gpointer
-mono_string_builder_to_utf8 (MonoStringBuilder *sb);
+mono_string_builder_to_utf8 (MonoStringBuilder *sb) MONO_INTERNAL;
gpointer
-mono_string_builder_to_utf16 (MonoStringBuilder *sb);
+mono_string_builder_to_utf16 (MonoStringBuilder *sb) MONO_INTERNAL;
gpointer
-mono_string_to_ansibstr (MonoString *string_obj);
+mono_string_to_ansibstr (MonoString *string_obj) MONO_INTERNAL;
gpointer
-mono_string_to_bstr (MonoString *string_obj);
+mono_string_to_bstr (MonoString *string_obj) MONO_INTERNAL;
void
-mono_string_to_byvalstr (gpointer dst, MonoString *src, int size);
+mono_string_to_byvalstr (gpointer dst, MonoString *src, int size) MONO_INTERNAL;
void
-mono_string_to_byvalwstr (gpointer dst, MonoString *src, int size);
+mono_string_to_byvalwstr (gpointer dst, MonoString *src, int size) MONO_INTERNAL;
gpointer
-mono_delegate_to_ftnptr (MonoDelegate *delegate);
+mono_delegate_to_ftnptr (MonoDelegate *delegate) MONO_INTERNAL;
MonoDelegate*
-mono_ftnptr_to_delegate (MonoClass *klass, gpointer ftn);
+mono_ftnptr_to_delegate (MonoClass *klass, gpointer ftn) MONO_INTERNAL;
-void mono_delegate_free_ftnptr (MonoDelegate *delegate);
+void mono_delegate_free_ftnptr (MonoDelegate *delegate) MONO_INTERNAL;
void
-mono_marshal_set_last_error (void);
+mono_marshal_set_last_error (void) MONO_INTERNAL;
gpointer
-mono_marshal_asany (MonoObject *obj, MonoMarshalNative string_encoding, int param_attrs);
+mono_marshal_asany (MonoObject *obj, MonoMarshalNative string_encoding, int param_attrs) MONO_INTERNAL;
void
-mono_marshal_free_asany (MonoObject *o, gpointer ptr, MonoMarshalNative string_encoding, int param_attrs);
+mono_marshal_free_asany (MonoObject *o, gpointer ptr, MonoMarshalNative string_encoding, int param_attrs) MONO_INTERNAL;
MonoMethod*
-mono_marshal_get_write_barrier (void);
+mono_marshal_get_write_barrier (void) MONO_INTERNAL;
/* method builder functions */
void
-mono_mb_free (MonoMethodBuilder *mb);
+mono_mb_free (MonoMethodBuilder *mb) MONO_INTERNAL;
MonoMethodBuilder *
-mono_mb_new (MonoClass *klass, const char *name, MonoWrapperType type);
+mono_mb_new (MonoClass *klass, const char *name, MonoWrapperType type) MONO_INTERNAL;
void
-mono_mb_patch_addr (MonoMethodBuilder *mb, int pos, int value);
+mono_mb_patch_addr (MonoMethodBuilder *mb, int pos, int value) MONO_INTERNAL;
void
-mono_mb_patch_addr_s (MonoMethodBuilder *mb, int pos, gint8 value);
+mono_mb_patch_addr_s (MonoMethodBuilder *mb, int pos, gint8 value) MONO_INTERNAL;
guint32
-mono_mb_add_data (MonoMethodBuilder *mb, gpointer data);
+mono_mb_add_data (MonoMethodBuilder *mb, gpointer data) MONO_INTERNAL;
void
-mono_mb_emit_native_call (MonoMethodBuilder *mb, MonoMethodSignature *sig, gpointer func);
+mono_mb_emit_native_call (MonoMethodBuilder *mb, MonoMethodSignature *sig, gpointer func) MONO_INTERNAL;
void
-mono_mb_emit_managed_call (MonoMethodBuilder *mb, MonoMethod *method, MonoMethodSignature *opt_sig);
+mono_mb_emit_managed_call (MonoMethodBuilder *mb, MonoMethod *method, MonoMethodSignature *opt_sig) MONO_INTERNAL;
int
-mono_mb_add_local (MonoMethodBuilder *mb, MonoType *type);
+mono_mb_add_local (MonoMethodBuilder *mb, MonoType *type) MONO_INTERNAL;
MonoMethod *
-mono_mb_create_method (MonoMethodBuilder *mb, MonoMethodSignature *signature, int max_stack);
+mono_mb_create_method (MonoMethodBuilder *mb, MonoMethodSignature *signature, int max_stack) MONO_INTERNAL;
void
-mono_mb_emit_ldarg (MonoMethodBuilder *mb, guint argnum);
+mono_mb_emit_ldarg (MonoMethodBuilder *mb, guint argnum) MONO_INTERNAL;
void
-mono_mb_emit_ldarg_addr (MonoMethodBuilder *mb, guint argnum);
+mono_mb_emit_ldarg_addr (MonoMethodBuilder *mb, guint argnum) MONO_INTERNAL;
void
-mono_mb_emit_ldloc (MonoMethodBuilder *mb, guint num);
+mono_mb_emit_ldloc (MonoMethodBuilder *mb, guint num) MONO_INTERNAL;
void
-mono_mb_emit_ldloc_addr (MonoMethodBuilder *mb, guint locnum);
+mono_mb_emit_ldloc_addr (MonoMethodBuilder *mb, guint locnum) MONO_INTERNAL;
void
-mono_mb_emit_stloc (MonoMethodBuilder *mb, guint num);
+mono_mb_emit_stloc (MonoMethodBuilder *mb, guint num) MONO_INTERNAL;
void
-mono_mb_emit_exception (MonoMethodBuilder *mb, const char *exc_name, const char *msg);
+mono_mb_emit_exception (MonoMethodBuilder *mb, const char *exc_name, const char *msg) MONO_INTERNAL;
void
-mono_mb_emit_icon (MonoMethodBuilder *mb, gint32 value);
+mono_mb_emit_icon (MonoMethodBuilder *mb, gint32 value) MONO_INTERNAL;
guint32
-mono_mb_emit_branch (MonoMethodBuilder *mb, guint8 op);
+mono_mb_emit_branch (MonoMethodBuilder *mb, guint8 op) MONO_INTERNAL;
guint32
-mono_mb_emit_short_branch (MonoMethodBuilder *mb, guint8 op);
+mono_mb_emit_short_branch (MonoMethodBuilder *mb, guint8 op) MONO_INTERNAL;
void
-mono_mb_emit_add_to_local (MonoMethodBuilder *mb, guint16 local, gint32 incr);
+mono_mb_emit_add_to_local (MonoMethodBuilder *mb, guint16 local, gint32 incr) MONO_INTERNAL;
void
-mono_mb_emit_ldflda (MonoMethodBuilder *mb, gint32 offset);
+mono_mb_emit_ldflda (MonoMethodBuilder *mb, gint32 offset) MONO_INTERNAL;
void
-mono_mb_emit_byte (MonoMethodBuilder *mb, guint8 op);
+mono_mb_emit_byte (MonoMethodBuilder *mb, guint8 op) MONO_INTERNAL;
void
-mono_mb_emit_i2 (MonoMethodBuilder *mb, gint16 data);
+mono_mb_emit_i2 (MonoMethodBuilder *mb, gint16 data) MONO_INTERNAL;
void
-mono_mb_emit_i4 (MonoMethodBuilder *mb, gint32 data);
+mono_mb_emit_i4 (MonoMethodBuilder *mb, gint32 data) MONO_INTERNAL;
void
-mono_mb_emit_ldstr (MonoMethodBuilder *mb, char *str);
+mono_mb_emit_ldstr (MonoMethodBuilder *mb, char *str) MONO_INTERNAL;
guint
-mono_type_to_ldind (MonoType *type);
+mono_type_to_ldind (MonoType *type) MONO_INTERNAL;
guint
-mono_type_to_stind (MonoType *type);
+mono_type_to_stind (MonoType *type) MONO_INTERNAL;
/* functions to create various architecture independent helper functions */
MonoMethod *
-mono_marshal_method_from_wrapper (MonoMethod *wrapper);
+mono_marshal_method_from_wrapper (MonoMethod *wrapper) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_remoting_invoke (MonoMethod *method);
+mono_marshal_get_remoting_invoke (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_xappdomain_invoke (MonoMethod *method);
+mono_marshal_get_xappdomain_invoke (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_remoting_invoke_for_target (MonoMethod *method, MonoRemotingTarget target_type);
+mono_marshal_get_remoting_invoke_for_target (MonoMethod *method, MonoRemotingTarget target_type) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_remoting_invoke_with_check (MonoMethod *method);
+mono_marshal_get_remoting_invoke_with_check (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_delegate_begin_invoke (MonoMethod *method);
+mono_marshal_get_delegate_begin_invoke (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_delegate_end_invoke (MonoMethod *method);
+mono_marshal_get_delegate_end_invoke (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_delegate_invoke (MonoMethod *method);
+mono_marshal_get_delegate_invoke (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_runtime_invoke (MonoMethod *method);
+mono_marshal_get_runtime_invoke (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_managed_wrapper (MonoMethod *method, MonoClass *delegate_klass, MonoObject *this);
+mono_marshal_get_managed_wrapper (MonoMethod *method, MonoClass *delegate_klass, MonoObject *this) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_icall_wrapper (MonoMethodSignature *sig, const char *name, gconstpointer func);
+mono_marshal_get_icall_wrapper (MonoMethodSignature *sig, const char *name, gconstpointer func) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_native_wrapper (MonoMethod *method);
+mono_marshal_get_native_wrapper (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_native_func_wrapper (MonoImage *image, MonoMethodSignature *sig, MonoMethodPInvoke *piinfo, MonoMarshalSpec **mspecs, gpointer func);
+mono_marshal_get_native_func_wrapper (MonoImage *image, MonoMethodSignature *sig, MonoMethodPInvoke *piinfo, MonoMarshalSpec **mspecs, gpointer func) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_struct_to_ptr (MonoClass *klass);
+mono_marshal_get_struct_to_ptr (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_ptr_to_struct (MonoClass *klass);
+mono_marshal_get_ptr_to_struct (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_stfld_wrapper (MonoType *type);
+mono_marshal_get_stfld_wrapper (MonoType *type) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_ldfld_wrapper (MonoType *type);
+mono_marshal_get_ldfld_wrapper (MonoType *type) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_ldflda_wrapper (MonoType *type);
+mono_marshal_get_ldflda_wrapper (MonoType *type) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_ldfld_remote_wrapper (MonoClass *klass);
+mono_marshal_get_ldfld_remote_wrapper (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_stfld_remote_wrapper (MonoClass *klass);
+mono_marshal_get_stfld_remote_wrapper (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_synchronized_wrapper (MonoMethod *method);
+mono_marshal_get_synchronized_wrapper (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_unbox_wrapper (MonoMethod *method);
+mono_marshal_get_unbox_wrapper (MonoMethod *method) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_isinst (MonoClass *klass);
+mono_marshal_get_isinst (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_castclass (MonoClass *klass);
+mono_marshal_get_castclass (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_proxy_cancast (MonoClass *klass);
+mono_marshal_get_proxy_cancast (MonoClass *klass) MONO_INTERNAL;
MonoMethod *
-mono_marshal_get_stelemref (void);
+mono_marshal_get_stelemref (void) MONO_INTERNAL;
MonoMethod *
mono_marshal_get_generic_array_helper (MonoClass *class, MonoClass *iface,
- gchar *name, MonoMethod *method);
+ gchar *name, MonoMethod *method) MONO_INTERNAL;
/* marshaling internal calls */
void *
-mono_marshal_alloc (gulong size);
+mono_marshal_alloc (gulong size) MONO_INTERNAL;
void
-mono_marshal_free (gpointer ptr);
+mono_marshal_free (gpointer ptr) MONO_INTERNAL;
void
-mono_marshal_free_array (gpointer *ptr, int size);
+mono_marshal_free_array (gpointer *ptr, int size) MONO_INTERNAL;
void *
-mono_marshal_realloc (gpointer ptr, gpointer size);
+mono_marshal_realloc (gpointer ptr, gpointer size) MONO_INTERNAL;
void
ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged (MonoArray *src, gint32 start_index,
- gpointer dest, gint32 length);
+ gpointer dest, gint32 length) MONO_INTERNAL;
void
ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged (gpointer src, gint32 start_index,
- MonoArray *dest, gint32 length);
+ MonoArray *dest, gint32 length) MONO_INTERNAL;
gpointer
-ves_icall_System_Runtime_InteropServices_Marshal_ReadIntPtr (gpointer ptr, gint32 offset);
+ves_icall_System_Runtime_InteropServices_Marshal_ReadIntPtr (gpointer ptr, gint32 offset) MONO_INTERNAL;
unsigned char
-ves_icall_System_Runtime_InteropServices_Marshal_ReadByte (gpointer ptr, gint32 offset);
+ves_icall_System_Runtime_InteropServices_Marshal_ReadByte (gpointer ptr, gint32 offset) MONO_INTERNAL;
gint16
-ves_icall_System_Runtime_InteropServices_Marshal_ReadInt16 (gpointer ptr, gint32 offset);
+ves_icall_System_Runtime_InteropServices_Marshal_ReadInt16 (gpointer ptr, gint32 offset) MONO_INTERNAL;
gint32
-ves_icall_System_Runtime_InteropServices_Marshal_ReadInt32 (gpointer ptr, gint32 offset);
+ves_icall_System_Runtime_InteropServices_Marshal_ReadInt32 (gpointer ptr, gint32 offset) MONO_INTERNAL;
gint64
-ves_icall_System_Runtime_InteropServices_Marshal_ReadInt64 (gpointer ptr, gint32 offset);
+ves_icall_System_Runtime_InteropServices_Marshal_ReadInt64 (gpointer ptr, gint32 offset) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_WriteByte (gpointer ptr, gint32 offset, unsigned char val);
+ves_icall_System_Runtime_InteropServices_Marshal_WriteByte (gpointer ptr, gint32 offset, unsigned char val) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_WriteIntPtr (gpointer ptr, gint32 offset, gpointer val);
+ves_icall_System_Runtime_InteropServices_Marshal_WriteIntPtr (gpointer ptr, gint32 offset, gpointer val) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_WriteInt16 (gpointer ptr, gint32 offset, gint16 val);
+ves_icall_System_Runtime_InteropServices_Marshal_WriteInt16 (gpointer ptr, gint32 offset, gint16 val) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_WriteInt32 (gpointer ptr, gint32 offset, gint32 val);
+ves_icall_System_Runtime_InteropServices_Marshal_WriteInt32 (gpointer ptr, gint32 offset, gint32 val) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_WriteInt64 (gpointer ptr, gint32 offset, gint64 val);
+ves_icall_System_Runtime_InteropServices_Marshal_WriteInt64 (gpointer ptr, gint32 offset, gint64 val) MONO_INTERNAL;
MonoString *
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi (char *ptr);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi (char *ptr) MONO_INTERNAL;
MonoString *
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi_len (char *ptr, gint32 len);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi_len (char *ptr, gint32 len) MONO_INTERNAL;
MonoString *
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni (guint16 *ptr);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni (guint16 *ptr) MONO_INTERNAL;
MonoString *
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni_len (guint16 *ptr, gint32 len);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni_len (guint16 *ptr, gint32 len) MONO_INTERNAL;
MonoString *
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringBSTR (gpointer ptr);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringBSTR (gpointer ptr) MONO_INTERNAL;
guint32
-ves_icall_System_Runtime_InteropServices_Marshal_GetComSlotForMethodInfoInternal (MonoReflectionMethod *m);
+ves_icall_System_Runtime_InteropServices_Marshal_GetComSlotForMethodInfoInternal (MonoReflectionMethod *m) MONO_INTERNAL;
guint32
-ves_icall_System_Runtime_InteropServices_Marshal_GetLastWin32Error (void);
+ves_icall_System_Runtime_InteropServices_Marshal_GetLastWin32Error (void) MONO_INTERNAL;
guint32
-ves_icall_System_Runtime_InteropServices_Marshal_SizeOf (MonoReflectionType *rtype);
+ves_icall_System_Runtime_InteropServices_Marshal_SizeOf (MonoReflectionType *rtype) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_StructureToPtr (MonoObject *obj, gpointer dst, MonoBoolean delete_old);
+ves_icall_System_Runtime_InteropServices_Marshal_StructureToPtr (MonoObject *obj, gpointer dst, MonoBoolean delete_old) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure (gpointer src, MonoObject *dst);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure (gpointer src, MonoObject *dst) MONO_INTERNAL;
MonoObject *
-ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure_type (gpointer src, MonoReflectionType *type);
+ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure_type (gpointer src, MonoReflectionType *type) MONO_INTERNAL;
int
-ves_icall_System_Runtime_InteropServices_Marshal_OffsetOf (MonoReflectionType *type, MonoString *field_name);
+ves_icall_System_Runtime_InteropServices_Marshal_OffsetOf (MonoReflectionType *type, MonoString *field_name) MONO_INTERNAL;
gpointer
-ves_icall_System_Runtime_InteropServices_Marshal_StringToBSTR (MonoString *string);
+ves_icall_System_Runtime_InteropServices_Marshal_StringToBSTR (MonoString *string) MONO_INTERNAL;
gpointer
-ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi (MonoString *string);
+ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi (MonoString *string) MONO_INTERNAL;
gpointer
-ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni (MonoString *string);
+ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni (MonoString *string) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_DestroyStructure (gpointer src, MonoReflectionType *type);
+ves_icall_System_Runtime_InteropServices_Marshal_DestroyStructure (gpointer src, MonoReflectionType *type) MONO_INTERNAL;
void*
-ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem (int size);
+ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem (int size) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem (void *ptr);
+ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem (void *ptr) MONO_INTERNAL;
void*
-ves_icall_System_Runtime_InteropServices_Marshal_AllocHGlobal (int size);
+ves_icall_System_Runtime_InteropServices_Marshal_AllocHGlobal (int size) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_FreeHGlobal (void *ptr);
+ves_icall_System_Runtime_InteropServices_Marshal_FreeHGlobal (void *ptr) MONO_INTERNAL;
void
-ves_icall_System_Runtime_InteropServices_Marshal_FreeBSTR (void *ptr);
+ves_icall_System_Runtime_InteropServices_Marshal_FreeBSTR (void *ptr) MONO_INTERNAL;
void*
-ves_icall_System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement (MonoArray *arrayobj, int index);
+ves_icall_System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement (MonoArray *arrayobj, int index) MONO_INTERNAL;
MonoDelegate*
-ves_icall_System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointerInternal (void *ftn, MonoReflectionType *type);
+ves_icall_System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointerInternal (void *ftn, MonoReflectionType *type) MONO_INTERNAL;
int
-ves_icall_System_Runtime_InteropServices_Marshal_AddRef (gpointer pUnk);
+ves_icall_System_Runtime_InteropServices_Marshal_AddRef (gpointer pUnk) MONO_INTERNAL;
int
-ves_icall_System_Runtime_InteropServices_Marshal_QueryInterface (gpointer pUnk, gpointer riid, gpointer* ppv);
+ves_icall_System_Runtime_InteropServices_Marshal_QueryInterface (gpointer pUnk, gpointer riid, gpointer* ppv) MONO_INTERNAL;
int
-ves_icall_System_Runtime_InteropServices_Marshal_Release (gpointer pUnk);
+ves_icall_System_Runtime_InteropServices_Marshal_Release (gpointer pUnk) MONO_INTERNAL;
MonoObject *
-ves_icall_System_ComObject_CreateRCW (MonoReflectionType *type);
+ves_icall_System_ComObject_CreateRCW (MonoReflectionType *type) MONO_INTERNAL;
void
-ves_icall_System_ComObject_Finalizer(MonoComObject* obj);
+ves_icall_System_ComObject_Finalizer(MonoComObject* obj) MONO_INTERNAL;
gpointer
-ves_icall_System_ComObject_FindInterface (MonoComObject* obj, MonoReflectionType* type);
+ves_icall_System_ComObject_FindInterface (MonoComObject* obj, MonoReflectionType* type) MONO_INTERNAL;
void
-ves_icall_System_ComObject_CacheInterface (MonoComObject* obj, MonoReflectionType* type, gpointer pItf);
+ves_icall_System_ComObject_CacheInterface (MonoComObject* obj, MonoReflectionType* type, gpointer pItf) MONO_INTERNAL;
gpointer
-ves_icall_System_ComObject_GetIUnknown (MonoComObject* obj);
+ves_icall_System_ComObject_GetIUnknown (MonoComObject* obj) MONO_INTERNAL;
void
ves_icall_System_ComObject_SetIUnknown (MonoComObject* obj, gpointer pUnk);
View
19 mono/metadata/monitor.h
@@ -12,19 +12,20 @@
#include <glib.h>
#include <mono/metadata/object.h>
+#include "mono/utils/mono-compiler.h"
G_BEGIN_DECLS
-void mono_monitor_init (void);
-void mono_monitor_cleanup (void);
+void mono_monitor_init (void) MONO_INTERNAL;
+void mono_monitor_cleanup (void) MONO_INTERNAL;
-extern gboolean ves_icall_System_Threading_Monitor_Monitor_try_enter(MonoObject *obj, guint32 ms);
-extern void ves_icall_System_Threading_Monitor_Monitor_exit(MonoObject *obj);
-extern gboolean ves_icall_System_Threading_Monitor_Monitor_test_owner(MonoObject *obj);
-extern gboolean ves_icall_System_Threading_Monitor_Monitor_test_synchronised(MonoObject *obj);
-extern void ves_icall_System_Threading_Monitor_Monitor_pulse(MonoObject *obj);
-extern void ves_icall_System_Threading_Monitor_Monitor_pulse_all(MonoObject *obj);
-extern gboolean ves_icall_System_Threading_Monitor_Monitor_wait(MonoObject *obj, guint32 ms);
+extern gboolean ves_icall_System_Threading_Monitor_Monitor_try_enter(MonoObject *obj, guint32 ms) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Monitor_Monitor_exit(MonoObject *obj) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_Monitor_Monitor_test_owner(MonoObject *obj) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_Monitor_Monitor_test_synchronised(MonoObject *obj) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Monitor_Monitor_pulse(MonoObject *obj) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Monitor_Monitor_pulse_all(MonoObject *obj) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_Monitor_Monitor_wait(MonoObject *obj, guint32 ms) MONO_INTERNAL;
G_END_DECLS
View
33 mono/metadata/process.h
@@ -15,6 +15,7 @@
#include <mono/metadata/object.h>
#include <mono/io-layer/io-layer.h>
+#include "mono/utils/mono-compiler.h"
typedef struct
{
@@ -46,22 +47,22 @@ typedef struct
G_BEGIN_DECLS
-HANDLE ves_icall_System_Diagnostics_Process_GetProcess_internal (guint32 pid);
-MonoArray *ves_icall_System_Diagnostics_Process_GetProcesses_internal (void);
-guint32 ves_icall_System_Diagnostics_Process_GetPid_internal (void);
-void ves_icall_System_Diagnostics_Process_Process_free_internal (MonoObject *this, HANDLE process);
-MonoArray *ves_icall_System_Diagnostics_Process_GetModules_internal (MonoObject *this);
-void ves_icall_System_Diagnostics_FileVersionInfo_GetVersionInfo_internal (MonoObject *this, MonoString *filename);
-MonoBoolean ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal (MonoProcessStartInfo *proc_start_info, MonoProcInfo *process_handle);
-MonoBoolean ves_icall_System_Diagnostics_Process_CreateProcess_internal (MonoProcessStartInfo *proc_start_info, HANDLE stdin_handle, HANDLE stdout_handle, HANDLE stderr_handle, MonoProcInfo *process_handle);
-MonoBoolean ves_icall_System_Diagnostics_Process_WaitForExit_internal (MonoObject *this, HANDLE process, gint32 ms);
-gint64 ves_icall_System_Diagnostics_Process_ExitTime_internal (HANDLE process);
-gint64 ves_icall_System_Diagnostics_Process_StartTime_internal (HANDLE process);
-gint32 ves_icall_System_Diagnostics_Process_ExitCode_internal (HANDLE process);
-MonoString *ves_icall_System_Diagnostics_Process_ProcessName_internal (HANDLE process);
-MonoBoolean ves_icall_System_Diagnostics_Process_GetWorkingSet_internal (HANDLE process, guint32 *min, guint32 *max);
-MonoBoolean ves_icall_System_Diagnostics_Process_SetWorkingSet_internal (HANDLE process, guint32 min, guint32 max, MonoBoolean use_min);
-MonoBoolean ves_icall_System_Diagnostics_Process_Kill_internal (HANDLE process, gint32 sig);
+HANDLE ves_icall_System_Diagnostics_Process_GetProcess_internal (guint32 pid) MONO_INTERNAL;
+MonoArray *ves_icall_System_Diagnostics_Process_GetProcesses_internal (void) MONO_INTERNAL;
+guint32 ves_icall_System_Diagnostics_Process_GetPid_internal (void) MONO_INTERNAL;
+void ves_icall_System_Diagnostics_Process_Process_free_internal (MonoObject *this, HANDLE process) MONO_INTERNAL;
+MonoArray *ves_icall_System_Diagnostics_Process_GetModules_internal (MonoObject *this) MONO_INTERNAL;
+void ves_icall_System_Diagnostics_FileVersionInfo_GetVersionInfo_internal (MonoObject *this, MonoString *filename) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal (MonoProcessStartInfo *proc_start_info, MonoProcInfo *process_handle) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Diagnostics_Process_CreateProcess_internal (MonoProcessStartInfo *proc_start_info, HANDLE stdin_handle, HANDLE stdout_handle, HANDLE stderr_handle, MonoProcInfo *process_handle) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Diagnostics_Process_WaitForExit_internal (MonoObject *this, HANDLE process, gint32 ms) MONO_INTERNAL;
+gint64 ves_icall_System_Diagnostics_Process_ExitTime_internal (HANDLE process) MONO_INTERNAL;
+gint64 ves_icall_System_Diagnostics_Process_StartTime_internal (HANDLE process) MONO_INTERNAL;
+gint32 ves_icall_System_Diagnostics_Process_ExitCode_internal (HANDLE process) MONO_INTERNAL;
+MonoString *ves_icall_System_Diagnostics_Process_ProcessName_internal (HANDLE process) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Diagnostics_Process_GetWorkingSet_internal (HANDLE process, guint32 *min, guint32 *max) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Diagnostics_Process_SetWorkingSet_internal (HANDLE process, guint32 min, guint32 max, MonoBoolean use_min) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Diagnostics_Process_Kill_internal (HANDLE process, gint32 sig) MONO_INTERNAL;
G_END_DECLS
View
9 mono/metadata/rand.h
@@ -13,10 +13,11 @@
#define _MONO_METADATA_RAND_H_
#include <mono/metadata/object.h>
+#include "mono/utils/mono-compiler.h"
-MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void);
-gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed);
-gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry);
-void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle);
+MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void) MONO_INTERNAL;
+gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed) MONO_INTERNAL;
+gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry) MONO_INTERNAL;
+void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle) MONO_INTERNAL;
#endif
View
20 mono/metadata/rawbuffer.h
@@ -1,16 +1,18 @@
#ifndef __MONO_RAWBUFFER_H__
#define __MONO_RAWBUFFER_H__
-void mono_raw_buffer_init (void);
-void mono_raw_buffer_cleanup (void);
+#include "mono/utils/mono-compiler.h"
-void *mono_raw_buffer_load (int fd, int writable, guint32 base, size_t size);
-void mono_raw_buffer_update (void *buffer, size_t size);
-void mono_raw_buffer_free (void *buffer);
+void mono_raw_buffer_init (void) MONO_INTERNAL;
+void mono_raw_buffer_cleanup (void) MONO_INTERNAL;
-void mono_raw_buffer_set_make_unreadable (gboolean unreadable);
-gboolean mono_raw_buffer_is_pagefault (void *ptr);
-void mono_raw_buffer_handle_pagefault (void *ptr);
-guint32 mono_raw_buffer_get_n_pagefaults (void);
+void *mono_raw_buffer_load (int fd, int writable, guint32 base, size_t size) MONO_INTERNAL;
+void mono_raw_buffer_update (void *buffer, size_t size) MONO_INTERNAL;
+void mono_raw_buffer_free (void *buffer) MONO_INTERNAL;
+
+void mono_raw_buffer_set_make_unreadable (gboolean unreadable) MONO_INTERNAL;
+gboolean mono_raw_buffer_is_pagefault (void *ptr) MONO_INTERNAL;
+void mono_raw_buffer_handle_pagefault (void *ptr) MONO_INTERNAL;
+guint32 mono_raw_buffer_get_n_pagefaults (void) MONO_INTERNAL;
#endif /* __MONO_RAWBUFFER_H__ */
View
24 mono/metadata/security-manager.h
@@ -59,22 +59,22 @@ typedef struct {
/* Initialization/utility functions */
-void mono_activate_security_manager (void);
-gboolean mono_is_security_manager_active (void);
-MonoSecurityManager* mono_security_manager_get_methods (void);
-gboolean mono_is_ecma_key (const char *publickey, int size);
-MonoMethod* mono_get_context_capture_method (void);
+void mono_activate_security_manager (void) MONO_INTERNAL;
+gboolean mono_is_security_manager_active (void) MONO_INTERNAL;
+MonoSecurityManager* mono_security_manager_get_methods (void) MONO_INTERNAL;
+gboolean mono_is_ecma_key (const char *publickey, int size) MONO_INTERNAL;
+MonoMethod* mono_get_context_capture_method (void) MONO_INTERNAL;
-void mono_secman_inheritancedemand_class (MonoClass *klass, MonoClass *parent);
-void mono_secman_inheritancedemand_method (MonoMethod *override, MonoMethod *base);
+void mono_secman_inheritancedemand_class (MonoClass *klass, MonoClass *parent) MONO_INTERNAL;
+void mono_secman_inheritancedemand_method (MonoMethod *override, MonoMethod *base) MONO_INTERNAL;
/* internal calls */
-MonoBoolean ves_icall_System_Security_SecurityManager_get_SecurityEnabled (void);
-void ves_icall_System_Security_SecurityManager_set_SecurityEnabled (MonoBoolean value);
-MonoBoolean ves_icall_System_Security_SecurityManager_get_CheckExecutionRights (void);
-void ves_icall_System_Security_SecurityManager_set_CheckExecutionRights (MonoBoolean value);
-MonoBoolean ves_icall_System_Security_SecurityManager_GetLinkDemandSecurity (MonoReflectionMethod *m, MonoDeclSecurityActions *kactions, MonoDeclSecurityActions *mactions);
+MonoBoolean ves_icall_System_Security_SecurityManager_get_SecurityEnabled (void) MONO_INTERNAL;
+void ves_icall_System_Security_SecurityManager_set_SecurityEnabled (MonoBoolean value) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Security_SecurityManager_get_CheckExecutionRights (void) MONO_INTERNAL;
+void ves_icall_System_Security_SecurityManager_set_CheckExecutionRights (MonoBoolean value) MONO_INTERNAL;
+MonoBoolean ves_icall_System_Security_SecurityManager_GetLinkDemandSecurity (MonoReflectionMethod *m, MonoDeclSecurityActions *kactions, MonoDeclSecurityActions *mactions) MONO_INTERNAL;
#endif /* _MONO_METADATA_SECURITY_MANAGER_H_ */
View
34 mono/metadata/security.h
@@ -16,38 +16,38 @@
G_BEGIN_DECLS
/* System.Environment */
-extern MonoString* ves_icall_System_Environment_get_UserName (void);
+extern MonoString* ves_icall_System_Environment_get_UserName (void) MONO_INTERNAL;
/* System.Security.Principal.WindowsIdentity */
-extern MonoArray* ves_icall_System_Security_Principal_WindowsIdentity_GetRoles (gpointer token);
-extern gpointer ves_icall_System_Security_Principal_WindowsIdentity_GetCurrentToken (void);
-extern MonoString* ves_icall_System_Security_Principal_WindowsIdentity_GetTokenName (gpointer token);
-extern gpointer ves_icall_System_Security_Principal_WindowsIdentity_GetUserToken (MonoString *username);
+extern MonoArray* ves_icall_System_Security_Principal_WindowsIdentity_GetRoles (gpointer token) MONO_INTERNAL;
+extern gpointer ves_icall_System_Security_Principal_WindowsIdentity_GetCurrentToken (void) MONO_INTERNAL;
+extern MonoString* ves_icall_System_Security_Principal_WindowsIdentity_GetTokenName (gpointer token) MONO_INTERNAL;
+extern gpointer ves_icall_System_Security_Principal_WindowsIdentity_GetUserToken (MonoString *username) MONO_INTERNAL;
/* System.Security.Principal.WindowsImpersonationContext */
-extern gboolean ves_icall_System_Security_Principal_WindowsImpersonationContext_CloseToken (gpointer token);
-extern gpointer ves_icall_System_Security_Principal_WindowsImpersonationContext_DuplicateToken (gpointer token);
-extern gboolean ves_icall_System_Security_Principal_WindowsImpersonationContext_SetCurrentToken (gpointer token);
-extern gboolean ves_icall_System_Security_Principal_WindowsImpersonationContext_RevertToSelf (void);
+extern gboolean ves_icall_System_Security_Principal_WindowsImpersonationContext_CloseToken (gpointer token) MONO_INTERNAL;
+extern gpointer ves_icall_System_Security_Principal_WindowsImpersonationContext_DuplicateToken (gpointer token) MONO_INTERNAL;
+extern gboolean ves_icall_System_Security_Principal_WindowsImpersonationContext_SetCurrentToken (gpointer token) MONO_INTERNAL;
+extern gboolean ves_icall_System_Security_Principal_WindowsImpersonationContext_RevertToSelf (void) MONO_INTERNAL;
/* System.Security.Principal.WindowsPrincipal */
-extern gboolean ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupId (gpointer user, gpointer group);
-extern gboolean ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupName (gpointer user, MonoString *group);
+extern gboolean ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupId (gpointer user, gpointer group) MONO_INTERNAL;
+extern gboolean ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupName (gpointer user, MonoString *group) MONO_INTERNAL;
/* Mono.Security.Cryptography.KeyPairPersistance */
-extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_CanSecure (MonoString *root);
-extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsMachineProtected (MonoString *path);
-extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsUserProtected (MonoString *path);
-extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectMachine (MonoString *path);
-extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectUser (MonoString *path);
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_CanSecure (MonoString *root) MONO_INTERNAL;
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsMachineProtected (MonoString *path) MONO_INTERNAL;
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsUserProtected (MonoString *path) MONO_INTERNAL;
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectMachine (MonoString *path) MONO_INTERNAL;
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectUser (MonoString *path) MONO_INTERNAL;
/* System.Security.Policy.Evidence */
-MonoBoolean ves_icall_System_Security_Policy_Evidence_IsAuthenticodePresent (MonoReflectionAssembly *refass);
+MonoBoolean ves_icall_System_Security_Policy_Evidence_IsAuthenticodePresent (MonoReflectionAssembly *refass) MONO_INTERNAL;
G_END_DECLS
View
54 mono/metadata/socket-io.h
@@ -179,33 +179,33 @@ typedef struct
gint gid;
} MonoPeerCredData;
-extern gpointer ves_icall_System_Net_Sockets_Socket_Socket_internal(MonoObject *this, gint32 family, gint32 type, gint32 proto, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Close_internal(SOCKET sock, gint32 *error);
-extern gint32 ves_icall_System_Net_Sockets_SocketException_WSAGetLastError_internal(void);
-extern gint32 ves_icall_System_Net_Sockets_Socket_Available_internal(SOCKET sock, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Blocking_internal(SOCKET sock, gboolean block, gint32 *error);
-extern gpointer ves_icall_System_Net_Sockets_Socket_Accept_internal(SOCKET sock, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Listen_internal(SOCKET sock, guint32 backlog, gint32 *error);
-extern MonoObject *ves_icall_System_Net_Sockets_Socket_LocalEndPoint_internal(SOCKET sock, gint32 *error);
-extern MonoObject *ves_icall_System_Net_Sockets_Socket_RemoteEndPoint_internal(SOCKET sock, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Bind_internal(SOCKET sock, MonoObject *sockaddr, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Connect_internal(SOCKET sock, MonoObject *sockaddr, gint32 *error);
-extern gint32 ves_icall_System_Net_Sockets_Socket_Receive_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, gint32 *error);
-extern gint32 ves_icall_System_Net_Sockets_Socket_RecvFrom_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, MonoObject **sockaddr, gint32 *error);
-extern gint32 ves_icall_System_Net_Sockets_Socket_Send_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, gint32 *error);
-extern gint32 ves_icall_System_Net_Sockets_Socket_SendTo_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, MonoObject *sockaddr, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Select_internal(MonoArray **sockets, gint32 timeout, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_Shutdown_internal(SOCKET sock, gint32 how, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal(SOCKET sock, gint32 level, gint32 name, MonoObject **obj_val, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_GetSocketOption_arr_internal(SOCKET sock, gint32 level, gint32 name, MonoArray **byte_val, gint32 *error);
-extern void ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal(SOCKET sock, gint32 level, gint32 name, MonoObject *obj_val, MonoArray *byte_val, gint32 int_val, gint32 *error);
-extern int ves_icall_System_Net_Sockets_Socket_WSAIoctl (SOCKET sock, gint32 code, MonoArray *input, MonoArray *output, gint32 *error);
-extern MonoBoolean ves_icall_System_Net_Dns_GetHostByName_internal(MonoString *host, MonoString **h_name, MonoArray **h_aliases, MonoArray **h_addr_list);
-extern MonoBoolean ves_icall_System_Net_Dns_GetHostByAddr_internal(MonoString *addr, MonoString **h_name, MonoArray **h_aliases, MonoArray **h_addr_list);
-extern MonoBoolean ves_icall_System_Net_Dns_GetHostName_internal(MonoString **h_name);
-extern MonoBoolean ves_icall_System_Net_Sockets_Socket_Poll_internal (SOCKET sock, gint mode, gint timeout, gint32 *error);
+extern gpointer ves_icall_System_Net_Sockets_Socket_Socket_internal(MonoObject *this, gint32 family, gint32 type, gint32 proto, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Close_internal(SOCKET sock, gint32 *error) MONO_INTERNAL;
+extern gint32 ves_icall_System_Net_Sockets_SocketException_WSAGetLastError_internal(void) MONO_INTERNAL;
+extern gint32 ves_icall_System_Net_Sockets_Socket_Available_internal(SOCKET sock, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Blocking_internal(SOCKET sock, gboolean block, gint32 *error) MONO_INTERNAL;
+extern gpointer ves_icall_System_Net_Sockets_Socket_Accept_internal(SOCKET sock, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Listen_internal(SOCKET sock, guint32 backlog, gint32 *error) MONO_INTERNAL;
+extern MonoObject *ves_icall_System_Net_Sockets_Socket_LocalEndPoint_internal(SOCKET sock, gint32 *error) MONO_INTERNAL;
+extern MonoObject *ves_icall_System_Net_Sockets_Socket_RemoteEndPoint_internal(SOCKET sock, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Bind_internal(SOCKET sock, MonoObject *sockaddr, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Connect_internal(SOCKET sock, MonoObject *sockaddr, gint32 *error) MONO_INTERNAL;
+extern gint32 ves_icall_System_Net_Sockets_Socket_Receive_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, gint32 *error) MONO_INTERNAL;
+extern gint32 ves_icall_System_Net_Sockets_Socket_RecvFrom_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, MonoObject **sockaddr, gint32 *error) MONO_INTERNAL;
+extern gint32 ves_icall_System_Net_Sockets_Socket_Send_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, gint32 *error) MONO_INTERNAL;
+extern gint32 ves_icall_System_Net_Sockets_Socket_SendTo_internal(SOCKET sock, MonoArray *buffer, gint32 offset, gint32 count, gint32 flags, MonoObject *sockaddr, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Select_internal(MonoArray **sockets, gint32 timeout, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_Shutdown_internal(SOCKET sock, gint32 how, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal(SOCKET sock, gint32 level, gint32 name, MonoObject **obj_val, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_GetSocketOption_arr_internal(SOCKET sock, gint32 level, gint32 name, MonoArray **byte_val, gint32 *error) MONO_INTERNAL;
+extern void ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal(SOCKET sock, gint32 level, gint32 name, MonoObject *obj_val, MonoArray *byte_val, gint32 int_val, gint32 *error) MONO_INTERNAL;
+extern int ves_icall_System_Net_Sockets_Socket_WSAIoctl (SOCKET sock, gint32 code, MonoArray *input, MonoArray *output, gint32 *error) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Net_Dns_GetHostByName_internal(MonoString *host, MonoString **h_name, MonoArray **h_aliases, MonoArray **h_addr_list) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Net_Dns_GetHostByAddr_internal(MonoString *addr, MonoString **h_name, MonoArray **h_aliases, MonoArray **h_addr_list) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Net_Dns_GetHostName_internal(MonoString **h_name) MONO_INTERNAL;
+extern MonoBoolean ves_icall_System_Net_Sockets_Socket_Poll_internal (SOCKET sock, gint mode, gint timeout, gint32 *error) MONO_INTERNAL;
-extern void mono_network_init(void);
-extern void mono_network_cleanup(void);
+extern void mono_network_init(void) MONO_INTERNAL;
+extern void mono_network_cleanup(void) MONO_INTERNAL;
#endif /* _MONO_METADATA_SOCKET_H_ */
View
63 mono/metadata/string-icalls.h
@@ -12,98 +12,99 @@
#include <mono/metadata/class.h>
#include <mono/metadata/object.h>
+#include "mono/utils/mono-compiler.h"
MonoString *
-ves_icall_System_String_ctor_charp (gpointer dummy, gunichar2 *value);
+ves_icall_System_String_ctor_charp (gpointer dummy, gunichar2 *value) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_char_int (gpointer dummy, gunichar2 value, gint32 count);
+ves_icall_System_String_ctor_char_int (gpointer dummy, gunichar2 value, gint32 count) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_charp_int_int (gpointer dummy, gunichar2 *value, gint32 sindex, gint32 length);
+ves_icall_System_String_ctor_charp_int_int (gpointer dummy, gunichar2 *value, gint32 sindex, gint32 length) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_sbytep (gpointer dummy, gint8 *value);
+ves_icall_System_String_ctor_sbytep (gpointer dummy, gint8 *value) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_sbytep_int_int (gpointer dummy, gint8 *value, gint32 sindex, gint32 length);
+ves_icall_System_String_ctor_sbytep_int_int (gpointer dummy, gint8 *value, gint32 sindex, gint32 length) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_chara (gpointer dummy, MonoArray *value);
+ves_icall_System_String_ctor_chara (gpointer dummy, MonoArray *value) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_chara_int_int (gpointer dummy, MonoArray *value, gint32 sindex, gint32 length);
+ves_icall_System_String_ctor_chara_int_int (gpointer dummy, MonoArray *value, gint32 sindex, gint32 length) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_ctor_encoding (gpointer dummy, gint8 *value, gint32 sindex, gint32 length, MonoObject *enc);
+ves_icall_System_String_ctor_encoding (gpointer dummy, gint8 *value, gint32 sindex, gint32 length, MonoObject *enc) MONO_INTERNAL;
void
-ves_icall_System_String_ctor_RedirectToCreateString (void);
+ves_icall_System_String_ctor_RedirectToCreateString (void) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalJoin (MonoString *separator, MonoArray * value, gint32 sindex, gint32 count);
+ves_icall_System_String_InternalJoin (MonoString *separator, MonoArray * value, gint32 sindex, gint32 count) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalInsert (MonoString *me, gint32 sindex, MonoString *value);
+ves_icall_System_String_InternalInsert (MonoString *me, gint32 sindex, MonoString *value) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalReplace_Char (MonoString *me, gunichar2 oldChar, gunichar2 newChar);
+ves_icall_System_String_InternalReplace_Char (MonoString *me, gunichar2 oldChar, gunichar2 newChar) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalRemove (MonoString *me, gint32 sindex, gint32 count);
+ves_icall_System_String_InternalRemove (MonoString *me, gint32 sindex, gint32 count) MONO_INTERNAL;
void
-ves_icall_System_String_InternalCopyTo (MonoString *me, gint32 sindex, MonoArray *dest, gint32 dindex, gint32 count);
+ves_icall_System_String_InternalCopyTo (MonoString *me, gint32 sindex, MonoArray *dest, gint32 dindex, gint32 count) MONO_INTERNAL;
MonoArray *
-ves_icall_System_String_InternalSplit (MonoString *me, MonoArray *separator, gint32 count);
+ves_icall_System_String_InternalSplit (MonoString *me, MonoArray *separator, gint32 count) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalTrim (MonoString *me, MonoArray *chars, gint32 typ);
+ves_icall_System_String_InternalTrim (MonoString *me, MonoArray *chars, gint32 typ) MONO_INTERNAL;
gint32
-ves_icall_System_String_InternalIndexOfAny (MonoString *me, MonoArray *arr, gint32 sindex, gint32 count);
+ves_icall_System_String_InternalIndexOfAny (MonoString *me, MonoArray *arr, gint32 sindex, gint32 count) MONO_INTERNAL;
gint32
-ves_icall_System_String_InternalLastIndexOf_Char (MonoString *me, gunichar2 value, gint32 sindex, gint32 count);
+ves_icall_System_String_InternalLastIndexOf_Char (MonoString *me, gunichar2 value, gint32 sindex, gint32 count) MONO_INTERNAL;
gint32
-ves_icall_System_String_InternalLastIndexOf_Str (MonoString *me, MonoString *value, gint32 sindex, gint32 count);
+ves_icall_System_String_InternalLastIndexOf_Str (MonoString *me, MonoString *value, gint32 sindex, gint32 count) MONO_INTERNAL;
gint32
-ves_icall_System_String_InternalLastIndexOfAny (MonoString *me, MonoArray *anyOf, gint32 sindex, gint32 count);
+ves_icall_System_String_InternalLastIndexOfAny (MonoString *me, MonoArray *anyOf, gint32 sindex, gint32 count) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalPad (MonoString *me, gint32 width, gunichar2 chr, MonoBoolean right);
+ves_icall_System_String_InternalPad (MonoString *me, gint32 width, gunichar2 chr, MonoBoolean right) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalAllocateStr (gint32 length);
+ves_icall_System_String_InternalAllocateStr (gint32 length) MONO_INTERNAL;
void
-ves_icall_System_String_InternalStrcpy_Str (MonoString *dest, gint32 destPos, MonoString *src);
+ves_icall_System_String_InternalStrcpy_Str (MonoString *dest, gint32 destPos, MonoString *src) MONO_INTERNAL;
void
-ves_icall_System_String_InternalStrcpy_StrN (MonoString *dest, gint32 destPos, MonoString *src, gint32 startPos, gint32 count);
+ves_icall_System_String_InternalStrcpy_StrN (MonoString *dest, gint32 destPos, MonoString *src, gint32 startPos, gint32 count) MONO_INTERNAL;
void
-ves_icall_System_String_InternalStrcpy_Chars (MonoString *dest, gint32 destPos, MonoArray *src);
+ves_icall_System_String_InternalStrcpy_Chars (MonoString *dest, gint32 destPos, MonoArray *src) MONO_INTERNAL;
void
-ves_icall_System_String_InternalStrcpy_CharsN (MonoString *dest, gint32 destPos, MonoArray *src, gint32 startPos, gint32 count);
+ves_icall_System_String_InternalStrcpy_CharsN (MonoString *dest, gint32 destPos, MonoArray *src, gint32 startPos, gint32 count) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalIntern (MonoString *str);
+ves_icall_System_String_InternalIntern (MonoString *str) MONO_INTERNAL;
MonoString *
-ves_icall_System_String_InternalIsInterned (MonoString *str);
+ves_icall_System_String_InternalIsInterned (MonoString *str) MONO_INTERNAL;
gint32
-ves_icall_System_String_GetHashCode (MonoString *me);
+ves_icall_System_String_GetHashCode (MonoString *me) MONO_INTERNAL;
gunichar2
-ves_icall_System_String_get_Chars (MonoString *me, gint32 idx);
+ves_icall_System_String_get_Chars (MonoString *me, gint32 idx) MONO_INTERNAL;
void
-ves_icall_System_String_InternalCharCopy (gunichar2 *src, gunichar2 *dest, gint32 count);
+ves_icall_System_String_InternalCharCopy (gunichar2 *src, gunichar2 *dest, gint32 count) MONO_INTERNAL;
#endif /* _MONO_CLI_STRING_ICALLS_H_ */
View
36 mono/metadata/sysmath.h
@@ -14,53 +14,53 @@
#include <glib.h>
#include "mono/utils/mono-compiler.h"
-extern gdouble ves_icall_System_Math_Floor (gdouble x);
-extern gdouble ves_icall_System_Math_Round (gdouble x);
-extern gdouble ves_icall_System_Math_Round2 (gdouble value, gint32 digits);
+extern gdouble ves_icall_System_Math_Floor (gdouble x) MONO_INTERNAL;
+extern gdouble ves_icall_System_Math_Round (gdouble x) MONO_INTERNAL;
+extern gdouble ves_icall_System_Math_Round2 (gdouble value, gint32 digits) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Sin (gdouble x);
+ves_icall_System_Math_Sin (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Cos (gdouble x);
+ves_icall_System_Math_Cos (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Tan (gdouble x);
+ves_icall_System_Math_Tan (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Sinh (gdouble x);
+ves_icall_System_Math_Sinh (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Cosh (gdouble x);
+ves_icall_System_Math_Cosh (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Tanh (gdouble x);
+ves_icall_System_Math_Tanh (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Acos (gdouble x);
+ves_icall_System_Math_Acos (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Asin (gdouble x);
+ves_icall_System_Math_Asin (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Atan (gdouble x);
+ves_icall_System_Math_Atan (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Atan2 (gdouble y, gdouble x);
+ves_icall_System_Math_Atan2 (gdouble y, gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Exp (gdouble x);
+ves_icall_System_Math_Exp (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Log (gdouble x);
+ves_icall_System_Math_Log (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Log10 (gdouble x);
+ves_icall_System_Math_Log10 (gdouble x) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Pow (gdouble x, gdouble y);
+ves_icall_System_Math_Pow (gdouble x, gdouble y) MONO_INTERNAL;
extern gdouble
-ves_icall_System_Math_Sqrt (gdouble x);
+ves_icall_System_Math_Sqrt (gdouble x) MONO_INTERNAL;
#endif
View
2 mono/metadata/threadpool-internals.h
@@ -1,5 +1,5 @@
#ifndef _MONO_THREADPOOL_INTERNALS_H_
#define _MONO_THREADPOOL_INTERNALS_H_
-void mono_thread_pool_remove_socket (int sock);
+void mono_thread_pool_remove_socket (int sock) MONO_INTERNAL;
#endif
View
16 mono/metadata/threadpool.h
@@ -5,32 +5,32 @@
#include <mono/metadata/reflection.h>
/* No managed code here */
-void mono_thread_pool_init (void);
+void mono_thread_pool_init (void) MONO_INTERNAL;
MonoAsyncResult *
mono_thread_pool_add (MonoObject *target, MonoMethodMessage *msg,
- MonoDelegate *async_callback, MonoObject *state);
+ MonoDelegate *async_callback, MonoObject *state) MONO_INTERNAL;
MonoObject *
mono_thread_pool_finish (MonoAsyncResult *ares, MonoArray **out_args,
- MonoObject **exc);
+ MonoObject **exc) MONO_INTERNAL;
-void mono_thread_pool_cleanup (void);
+void mono_thread_pool_cleanup (void) MONO_INTERNAL;
void
ves_icall_System_Threading_ThreadPool_GetAvailableThreads (int *workerThreads,
- int *completionPortThreads);
+ int *completionPortThreads) MONO_INTERNAL;
void
ves_icall_System_Threading_ThreadPool_GetMaxThreads (int *workerThreads,
- int *completionPortThreads);
+ int *completionPortThreads) MONO_INTERNAL;
void
ves_icall_System_Threading_ThreadPool_GetMinThreads (gint *workerThreads,
- gint *completionPortThreads);
+ gint *completionPortThreads) MONO_INTERNAL;
MonoBoolean
ves_icall_System_Threading_ThreadPool_SetMinThreads (gint workerThreads,
- gint completionPortThreads);
+ gint completionPortThreads) MONO_INTERNAL;
#endif
View
167 mono/metadata/threads-types.h
@@ -14,6 +14,7 @@
#include <glib.h>
#include <mono/io-layer/io-layer.h>
+#include "mono/utils/mono-compiler.h"
/* This is a copy of System.Threading.ThreadState */
typedef enum {
@@ -33,88 +34,88 @@ typedef enum {
#define SPECIAL_STATIC_THREAD 1
#define SPECIAL_STATIC_CONTEXT 2
-extern HANDLE ves_icall_System_Threading_Thread_Thread_internal(MonoThread *this_obj, MonoObject *start);
-extern void ves_icall_System_Threading_Thread_Thread_free_internal(MonoThread *this_obj, HANDLE thread);
-extern void ves_icall_System_Threading_Thread_Sleep_internal(int ms);
-extern gboolean ves_icall_System_Threading_Thread_Join_internal(MonoThread *this_obj, int ms, HANDLE thread);
-extern gint32 ves_icall_System_Threading_Thread_GetDomainID (void);
-extern MonoString* ves_icall_System_Threading_Thread_GetName_internal (MonoThread *this_obj);
-extern void ves_icall_System_Threading_Thread_SetName_internal (MonoThread *this_obj, MonoString *name);
-extern MonoObject* ves_icall_System_Threading_Thread_GetCachedCurrentCulture (MonoThread *this_obj);
-extern MonoArray* ves_icall_System_Threading_Thread_GetSerializedCurrentCulture (MonoThread *this_obj);
-extern void ves_icall_System_Threading_Thread_SetCachedCurrentCulture (MonoThread *this_obj, MonoObject *culture);
-void ves_icall_System_Threading_Thread_SetSerializedCurrentCulture (MonoThread *this_obj, MonoArray *arr);
-extern MonoObject* ves_icall_System_Threading_Thread_GetCachedCurrentUICulture (MonoThread *this_obj);
-extern MonoArray* ves_icall_System_Threading_Thread_GetSerializedCurrentUICulture (MonoThread *this_obj);
-extern void ves_icall_System_Threading_Thread_SetCachedCurrentUICulture (MonoThread *this_obj, MonoObject *culture);
-void ves_icall_System_Threading_Thread_SetSerializedCurrentUICulture (MonoThread *this_obj, MonoArray *arr);
-extern HANDLE ves_icall_System_Threading_Mutex_CreateMutex_internal(MonoBoolean owned, MonoString *name, MonoBoolean *created);
-extern void ves_icall_System_Threading_Mutex_ReleaseMutex_internal (HANDLE handle );
-extern HANDLE ves_icall_System_Threading_Mutex_OpenMutex_internal (MonoString *name, gint32 rights, gint32 *error);
-extern HANDLE ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount, gint32 maximumCount, MonoString *name, MonoBoolean *created);
-extern gint32 ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (HANDLE handle, gint32 releaseCount, MonoBoolean *fail);
-extern HANDLE ves_icall_System_Threading_Semaphore_OpenSemaphore_internal (MonoString *name, gint32 rights, gint32 *error);
-extern HANDLE ves_icall_System_Threading_Events_CreateEvent_internal (MonoBoolean manual, MonoBoolean initial, MonoString *name, MonoBoolean *created);
-extern gboolean ves_icall_System_Threading_Events_SetEvent_internal (HANDLE handle);
-extern gboolean ves_icall_System_Threading_Events_ResetEvent_internal (HANDLE handle);
-extern void ves_icall_System_Threading_Events_CloseEvent_internal (HANDLE handle);
-extern HANDLE ves_icall_System_Threading_Events_OpenEvent_internal (MonoString *name, gint32 rights, gint32 *error);
-
-extern gboolean ves_icall_System_Threading_WaitHandle_WaitAll_internal(MonoArray *mono_handles, gint32 ms, gboolean exitContext);
-extern gint32 ves_icall_System_Threading_WaitHandle_WaitAny_internal(MonoArray *mono_handles, gint32 ms, gboolean exitContext);
-extern gboolean ves_icall_System_Threading_WaitHandle_WaitOne_internal(MonoObject *this_obj, HANDLE handle, gint32 ms, gboolean exitContext);
-
-extern gint32 ves_icall_System_Threading_Interlocked_Increment_Int(gint32 *location);
-extern gint64 ves_icall_System_Threading_Interlocked_Increment_Long(gint64 *location);
-extern gint32 ves_icall_System_Threading_Interlocked_Decrement_Int(gint32 *location);
-extern gint64 ves_icall_System_Threading_Interlocked_Decrement_Long(gint64 * location);
-
-extern gint32 ves_icall_System_Threading_Interlocked_Exchange_Int(gint32 *location, gint32 value);
-extern gint64 ves_icall_System_Threading_Interlocked_Exchange_Long(gint64 *location, gint64 value);
-extern MonoObject *ves_icall_System_Threading_Interlocked_Exchange_Object(MonoObject **location, MonoObject *value);
-extern gfloat ves_icall_System_Threading_Interlocked_Exchange_Single(gfloat *location, gfloat value);
-extern gdouble ves_icall_System_Threading_Interlocked_Exchange_Double(gdouble *location, gdouble value);
-
-extern gint32 ves_icall_System_Threading_Interlocked_CompareExchange_Int(gint32 *location, gint32 value, gint32 comparand);
-extern gint64 ves_icall_System_Threading_Interlocked_CompareExchange_Long(gint64 *location, gint64 value, gint64 comparand);
-extern MonoObject *ves_icall_System_Threading_Interlocked_CompareExchange_Object(MonoObject **location, MonoObject *value, MonoObject *comparand);
-extern gfloat ves_icall_System_Threading_Interlocked_CompareExchange_Single(gfloat *location, gfloat value, gfloat comparand);
-extern gdouble ves_icall_System_Threading_Interlocked_CompareExchange_Double(gdouble *location, gdouble value, gdouble comparand);
-extern MonoObject* ves_icall_System_Threading_Interlocked_CompareExchange_T(MonoObject **location, MonoObject *value, MonoObject *comparand);
-extern MonoObject* ves_icall_System_Threading_Interlocked_Exchange_T(MonoObject **location, MonoObject *value);
-
-extern gint32 ves_icall_System_Threading_Interlocked_Add_Int(gint32 *location, gint32 value);
-extern gint64 ves_icall_System_Threading_Interlocked_Add_Long(gint64 *location, gint64 value);
-extern gint64 ves_icall_System_Threading_Interlocked_Read_Long(gint64 *location);
-
-extern gint32 ves_icall_System_Threading_Interlocked_Increment_Int(gint32 *location);
-extern gint64 ves_icall_System_Threading_Interlocked_Increment_Long(gint64 *location);
-
-extern gint32 ves_icall_System_Threading_Interlocked_Decrement_Int(gint32 *location);
-extern gint64 ves_icall_System_Threading_Interlocked_Decrement_Long(gint64 * location);
-
-extern void ves_icall_System_Threading_Thread_Abort (MonoThread *thread, MonoObject *state);
-extern void ves_icall_System_Threading_Thread_ResetAbort (void);
-extern void ves_icall_System_Threading_Thread_Suspend (MonoThread *thread);
-extern void ves_icall_System_Threading_Thread_Resume (MonoThread *thread);
-extern void ves_icall_System_Threading_Thread_ClrState (MonoThread *thread, guint32 state);
-extern void ves_icall_System_Threading_Thread_SetState (MonoThread *thread, guint32 state);
-extern guint32 ves_icall_System_Threading_Thread_GetState (MonoThread *thread);
-
-gint8 ves_icall_System_Threading_Thread_VolatileRead1 (void *ptr);
-gint16 ves_icall_System_Threading_Thread_VolatileRead2 (void *ptr);
-gint32 ves_icall_System_Threading_Thread_VolatileRead4 (void *ptr);
-gint64 ves_icall_System_Threading_Thread_VolatileRead8 (void *ptr);
-void * ves_icall_System_Threading_Thread_VolatileReadIntPtr (void *ptr);
-
-void ves_icall_System_Threading_Thread_VolatileWrite1 (void *ptr, gint8);
-void ves_icall_System_Threading_Thread_VolatileWrite2 (void *ptr, gint16);
-void ves_icall_System_Threading_Thread_VolatileWrite4 (void *ptr, gint32);
-void ves_icall_System_Threading_Thread_VolatileWrite8 (void *ptr, gint64);
-void ves_icall_System_Threading_Thread_VolatileWriteIntPtr (void *ptr, void *);
-
-void ves_icall_System_Threading_Thread_MemoryBarrier (void);
-
-void mono_thread_free_local_slot_values (int slot, MonoBoolean thread_local);
+extern HANDLE ves_icall_System_Threading_Thread_Thread_internal(MonoThread *this_obj, MonoObject *start) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_Thread_free_internal(MonoThread *this_obj, HANDLE thread) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_Sleep_internal(int ms) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_Thread_Join_internal(MonoThread *this_obj, int ms, HANDLE thread) MONO_INTERNAL;
+extern gint32 ves_icall_System_Threading_Thread_GetDomainID (void) MONO_INTERNAL;
+extern MonoString* ves_icall_System_Threading_Thread_GetName_internal (MonoThread *this_obj) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_SetName_internal (MonoThread *this_obj, MonoString *name) MONO_INTERNAL;
+extern MonoObject* ves_icall_System_Threading_Thread_GetCachedCurrentCulture (MonoThread *this_obj) MONO_INTERNAL;
+extern MonoArray* ves_icall_System_Threading_Thread_GetSerializedCurrentCulture (MonoThread *this_obj) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_SetCachedCurrentCulture (MonoThread *this_obj, MonoObject *culture) MONO_INTERNAL;
+void ves_icall_System_Threading_Thread_SetSerializedCurrentCulture (MonoThread *this_obj, MonoArray *arr) MONO_INTERNAL;
+extern MonoObject* ves_icall_System_Threading_Thread_GetCachedCurrentUICulture (MonoThread *this_obj) MONO_INTERNAL;
+extern MonoArray* ves_icall_System_Threading_Thread_GetSerializedCurrentUICulture (MonoThread *this_obj) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_SetCachedCurrentUICulture (MonoThread *this_obj, MonoObject *culture) MONO_INTERNAL;
+void ves_icall_System_Threading_Thread_SetSerializedCurrentUICulture (MonoThread *this_obj, MonoArray *arr) MONO_INTERNAL;
+extern HANDLE ves_icall_System_Threading_Mutex_CreateMutex_internal(MonoBoolean owned, MonoString *name, MonoBoolean *created) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Mutex_ReleaseMutex_internal (HANDLE handle ) MONO_INTERNAL;
+extern HANDLE ves_icall_System_Threading_Mutex_OpenMutex_internal (MonoString *name, gint32 rights, gint32 *error) MONO_INTERNAL;
+extern HANDLE ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount, gint32 maximumCount, MonoString *name, MonoBoolean *created) MONO_INTERNAL;
+extern gint32 ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (HANDLE handle, gint32 releaseCount, MonoBoolean *fail) MONO_INTERNAL;
+extern HANDLE ves_icall_System_Threading_Semaphore_OpenSemaphore_internal (MonoString *name, gint32 rights, gint32 *error) MONO_INTERNAL;
+extern HANDLE ves_icall_System_Threading_Events_CreateEvent_internal (MonoBoolean manual, MonoBoolean initial, MonoString *name, MonoBoolean *created) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_Events_SetEvent_internal (HANDLE handle) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_Events_ResetEvent_internal (HANDLE handle) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Events_CloseEvent_internal (HANDLE handle) MONO_INTERNAL;
+extern HANDLE ves_icall_System_Threading_Events_OpenEvent_internal (MonoString *name, gint32 rights, gint32 *error) MONO_INTERNAL;
+
+extern gboolean ves_icall_System_Threading_WaitHandle_WaitAll_internal(MonoArray *mono_handles, gint32 ms, gboolean exitContext) MONO_INTERNAL;
+extern gint32 ves_icall_System_Threading_WaitHandle_WaitAny_internal(MonoArray *mono_handles, gint32 ms, gboolean exitContext) MONO_INTERNAL;
+extern gboolean ves_icall_System_Threading_WaitHandle_WaitOne_internal(MonoObject *this_obj, HANDLE handle, gint32 ms, gboolean exitContext) MONO_INTERNAL;
+
+extern gint32 ves_icall_System_Threading_Interlocked_Increment_Int(gint32 *location) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Increment_Long(gint64 *location) MONO_INTERNAL;
+extern gint32 ves_icall_System_Threading_Interlocked_Decrement_Int(gint32 *location) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Decrement_Long(gint64 * location) MONO_INTERNAL;
+
+extern gint32 ves_icall_System_Threading_Interlocked_Exchange_Int(gint32 *location, gint32 value) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Exchange_Long(gint64 *location, gint64 value) MONO_INTERNAL;
+extern MonoObject *ves_icall_System_Threading_Interlocked_Exchange_Object(MonoObject **location, MonoObject *value) MONO_INTERNAL;
+extern gfloat ves_icall_System_Threading_Interlocked_Exchange_Single(gfloat *location, gfloat value) MONO_INTERNAL;
+extern gdouble ves_icall_System_Threading_Interlocked_Exchange_Double(gdouble *location, gdouble value) MONO_INTERNAL;
+
+extern gint32 ves_icall_System_Threading_Interlocked_CompareExchange_Int(gint32 *location, gint32 value, gint32 comparand) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_CompareExchange_Long(gint64 *location, gint64 value, gint64 comparand) MONO_INTERNAL;
+extern MonoObject *ves_icall_System_Threading_Interlocked_CompareExchange_Object(MonoObject **location, MonoObject *value, MonoObject *comparand) MONO_INTERNAL;
+extern gfloat ves_icall_System_Threading_Interlocked_CompareExchange_Single(gfloat *location, gfloat value, gfloat comparand) MONO_INTERNAL;
+extern gdouble ves_icall_System_Threading_Interlocked_CompareExchange_Double(gdouble *location, gdouble value, gdouble comparand) MONO_INTERNAL;
+extern MonoObject* ves_icall_System_Threading_Interlocked_CompareExchange_T(MonoObject **location, MonoObject *value, MonoObject *comparand) MONO_INTERNAL;
+extern MonoObject* ves_icall_System_Threading_Interlocked_Exchange_T(MonoObject **location, MonoObject *value) MONO_INTERNAL;
+
+extern gint32 ves_icall_System_Threading_Interlocked_Add_Int(gint32 *location, gint32 value) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Add_Long(gint64 *location, gint64 value) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Read_Long(gint64 *location) MONO_INTERNAL;
+
+extern gint32 ves_icall_System_Threading_Interlocked_Increment_Int(gint32 *location) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Increment_Long(gint64 *location) MONO_INTERNAL;
+
+extern gint32 ves_icall_System_Threading_Interlocked_Decrement_Int(gint32 *location) MONO_INTERNAL;
+extern gint64 ves_icall_System_Threading_Interlocked_Decrement_Long(gint64 * location) MONO_INTERNAL;
+
+extern void ves_icall_System_Threading_Thread_Abort (MonoThread *thread, MonoObject *state) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_ResetAbort (void) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_Suspend (MonoThread *thread) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_Resume (MonoThread *thread) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_ClrState (MonoThread *thread, guint32 state) MONO_INTERNAL;
+extern void ves_icall_System_Threading_Thread_SetState (MonoThread *thread, guint32 state) MONO_INTERNAL;
+extern guint32 ves_icall_System_Threading_Thread_GetState (MonoThread *thread) MONO_INTERNAL;
+
+gint8 ves_icall_System_Threading_Thread_VolatileRead1 (void *ptr) MONO_INTERNAL;
+gint16 ves_icall_System_Threading_Thread_VolatileRead2 (void *ptr) MONO_INTERNAL;
+gint32 ves_icall_System_Threading_Thread_VolatileRead4 (void *ptr) MONO_INTERNAL;
+gint64 ves_icall_System_Threading_Thread_VolatileRead8 (void *ptr) MONO_INTERNAL;
+void * ves_icall_System_Threading_Thread_VolatileReadIntPtr (void *ptr) MONO_INTERNAL;
+
+void ves_icall_System_Threading_Thread_VolatileWrite1 (void *ptr, gint8) MONO_INTERNAL;
+void ves_icall_System_Threading_Thread_VolatileWrite2 (void *ptr, gint16) MONO_INTERNAL;
+void ves_icall_System_Threading_Thread_VolatileWrite4 (void *ptr, gint32) MONO_INTERNAL;
+void ves_icall_System_Threading_Thread_VolatileWrite8 (void *ptr, gint64) MONO_INTERNAL;
+void ves_icall_System_Threading_Thread_VolatileWriteIntPtr (void *ptr, void *) MONO_INTERNAL;
+
+void ves_icall_System_Threading_Thread_MemoryBarrier (void) MONO_INTERNAL;
+
+void mono_thread_free_local_slot_values (int slot, MonoBoolean thread_local) MONO_INTERNAL;
#endif /* _MONO_METADATA_THREADS_TYPES_H_ */

0 comments on commit 7120de6

Please sign in to comment.
Something went wrong with that request. Please try again.