diff options
Diffstat (limited to 'docs')
32 files changed, 710 insertions, 3173 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index bb90f1f2001..f9d4ac6b510 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -17,10 +17,8 @@ EXTRA_DIST = \ check-exports \ check-coverage \ convert.cs \ - current-api \ deploy \ docs.make \ - documented \ embedded-api \ exdoc \ file-share-modes \ @@ -43,8 +41,6 @@ EXTRA_DIST = \ object-layout \ precise-gc \ produce-lists \ - public \ - public-api \ README \ remoting \ ssapre.txt \ diff --git a/docs/current-api b/docs/current-api deleted file mode 100644 index be79dd8a3d8..00000000000 --- a/docs/current-api +++ /dev/null @@ -1,949 +0,0 @@ -dlfree -dlmalloc -dlmemalign -free_list_index_of -g_printerr -g_ptr_array_remove_fast -invoke_protected_memory_method -mini_debugger_init -mini_debugger_main -mini_debugger_set_attach_ok -mini_debug_running_inside_mdb -mini_emit_initobj -mini_emit_stobj -mono_add_internal_call -mono_aot_register_globals -mono_aot_register_module -mono_array_addr_with_size -mono_array_class_get -mono_array_clone -mono_array_element_size -mono_array_length -mono_array_new -mono_array_new_full -mono_array_new_specific -mono_assemblies_cleanup -mono_assembly_close -mono_assembly_get_image -mono_assembly_get_main -mono_assembly_get_object -mono_assembly_getrootdir -mono_assembly_load -mono_assembly_loaded -mono_assembly_loaded_full -mono_assembly_load_full -mono_assembly_name_free -mono_assembly_name_get_culture -mono_assembly_name_get_name -mono_assembly_name_get_pubkeytoken -mono_assembly_name_get_version -mono_assembly_name_new -mono_assembly_names_equal -mono_assembly_open -mono_bitset_alloc_size -mono_bitset_clear -mono_bitset_clear_all -mono_bitset_clone -mono_bitset_copyto -mono_bitset_count -mono_bitset_equal -mono_bitset_find_first -mono_bitset_find_first_unset -mono_bitset_find_last -mono_bitset_find_start -mono_bitset_foreach -mono_bitset_free -mono_bitset_intersection -mono_bitset_intersection_2 -mono_bitset_invert -mono_bitset_mem_new -mono_bitset_new -mono_bitset_set -mono_bitset_set_all -mono_bitset_size -mono_bitset_sub -mono_bitset_test -mono_bitset_test_bulk -mono_bitset_union -mono_bounded_array_class_get -mono_breakpoint_clean_code -mono_check_corlib_version -mono_class_array_element_size -mono_class_data_size -mono_class_describe_statics -mono_class_enum_basetype -mono_class_from_generic_parameter -mono_class_from_mono_type -mono_class_from_name -mono_class_from_name_case -mono_class_from_typeref -mono_class_get -mono_class_get_byref_type -mono_class_get_element_class -mono_class_get_events -mono_class_get_event_token -mono_class_get_field -mono_class_get_field_from_name -mono_class_get_fields -mono_class_get_field_token -mono_class_get_flags -mono_class_get_full -mono_class_get_image -mono_class_get_interfaces -mono_class_get_method_from_name -mono_class_get_method_from_name_flags -mono_class_get_methods -mono_class_get_name -mono_class_get_namespace -mono_class_get_nested_types -mono_class_get_nesting_type -mono_class_get_parent -mono_class_get_properties -mono_class_get_property_from_name -mono_class_get_property_token -mono_class_get_rank -mono_class_get_type -mono_class_get_type_token -mono_class_inflate_generic_method -mono_class_inflate_generic_type -mono_class_init -mono_class_instance_size -mono_class_interface_offset -mono_class_is_assignable_from -mono_class_is_enum -mono_class_is_subclass_of -mono_class_is_valid_enum -mono_class_is_valuetype -mono_class_min_align -mono_class_name_from_token -mono_class_num_events -mono_class_num_fields -mono_class_num_methods -mono_class_num_properties -mono_class_value_size -mono_class_vtable -mono_cli_rva_image_map -mono_code_manager_commit -mono_code_manager_destroy -mono_code_manager_foreach -mono_code_manager_invalidate -mono_code_manager_new -mono_code_manager_new_dynamic -mono_code_manager_reserve -mono_code_manager_reserve_align -mono_code_manager_set_read_only -mono_code_manager_size -mono_compile_method -mono_config_for_assembly -mono_config_parse -mono_config_parse_memory -mono_config_string_for_assembly_file -mono_context_get -mono_context_get_desc -mono_context_set -mono_counters_cleanup -mono_counters_dump -mono_counters_enable -mono_counters_register -mono_custom_attrs_construct -mono_custom_attrs_free -mono_custom_attrs_from_assembly -mono_custom_attrs_from_class -mono_custom_attrs_from_event -mono_custom_attrs_from_field -mono_custom_attrs_from_index -mono_custom_attrs_from_method -mono_custom_attrs_from_param -mono_custom_attrs_from_property -mono_custom_attrs_get_attr -mono_custom_attrs_has_attr -mono_debug_add_method -_mono_debug_address_from_il_offset -mono_debug_close_image -mono_debug_close_mono_symbol_file -mono_debug_domain_create -mono_debug_domain_unload -mono_debug_find_method -mono_debug_free_source_location -mono_debugger_abort_runtime_invoke -mono_debugger_breakpoint_callback -mono_debugger_call_exception_handler -mono_debugger_check_breakpoints -mono_debugger_check_interruption -mono_debugger_check_runtime_version -mono_debugger_class_initialized -mono_debugger_event -mono_debugger_event_create_appdomain -mono_debugger_event_unload_appdomain -mono_debugger_extended_notification -mono_debugger_handle_exception -mono_debugger_insert_breakpoint -mono_debugger_insert_breakpoint_full -mono_debugger_insert_method_breakpoint -mono_debugger_lock -mono_debugger_method_has_breakpoint -MONO_DEBUGGER__notification_function -mono_debugger_register_class_init_callback -mono_debugger_remove_breakpoint -mono_debugger_remove_class_init_callback -mono_debugger_remove_method_breakpoint -mono_debugger_run_finally -mono_debugger_runtime_invoke -mono_debugger_thread_cleanup -mono_debugger_thread_created -_mono_debugger_throw_exception -mono_debugger_trampoline_compiled -_mono_debugger_unhandled_exception -mono_debugger_unlock -mono_debug_il_offset_from_address -mono_debug_list_add -mono_debug_list_remove -mono_debug_lookup_locals -mono_debug_lookup_method -mono_debug_lookup_method_addresses -mono_debug_lookup_source_location -mono_debug_open_image_from_memory -mono_debug_open_mono_symbols -mono_debug_print_stack_frame -mono_debug_print_vars -mono_debug_symfile_get_line_numbers -mono_debug_symfile_lookup_locals -mono_debug_symfile_lookup_location -mono_debug_symfile_lookup_method -mono_debug_using_mono_debugger -mono_declsec_flags_from_assembly -mono_declsec_flags_from_class -mono_declsec_flags_from_method -mono_declsec_get_assembly_action -mono_declsec_get_class_action -mono_declsec_get_demands -mono_declsec_get_inheritdemands_class -mono_declsec_get_inheritdemands_method -mono_declsec_get_linkdemands -mono_declsec_get_method_action -mono_digest_get_public_token -mono_disasm_code -mono_disasm_code_one -mono_dllmap_insert -mono_domain_assembly_open -mono_domain_create -mono_domain_create_appdomain -mono_domain_finalize -mono_domain_foreach -mono_domain_free -mono_domain_from_appdomain -mono_domain_get -mono_domain_get_by_id -mono_domain_get_id -mono_domain_has_type_resolve -mono_domain_is_unloading -mono_domain_owns_vtable_slot -mono_domain_set -mono_domain_set_internal -mono_domain_try_type_resolve -mono_domain_try_unload -mono_domain_unload -mono_emit_native_call -mono_environment_exitcode_get -mono_environment_exitcode_set -mono_error_cleanup -mono_error_get_error_code -mono_error_get_message -mono_error_init -mono_error_init_flags -mono_error_ok -mono_escape_uri_string -mono_event_get_add_method -mono_event_get_flags -mono_event_get_name -mono_event_get_object -mono_event_get_parent -mono_event_get_raise_method -mono_event_get_remove_method -mono_exception_from_name -mono_exception_from_name_domain -mono_exception_from_name_msg -mono_exception_from_name_two_strings -mono_exception_from_token -mono_exception_from_token_two_strings -mono_field_from_token -mono_field_full_name -mono_field_get_data -mono_field_get_flags -mono_field_get_name -mono_field_get_object -mono_field_get_offset -mono_field_get_parent -mono_field_get_type -mono_field_get_value -mono_field_get_value_object -mono_field_set_value -mono_field_static_get_value -mono_field_static_set_value -mono_file_map -mono_file_map_close -mono_file_map_fd -mono_file_map_open -mono_file_map_size -mono_file_unmap -mono_free -mono_free_bstr -mono_free_method -mono_free_verify_list -mono_gc_collect -mono_gc_collection_count -mono_gc_get_generation -mono_gc_get_heap_size -mono_gc_get_used_size -mono_gchandle_free -mono_gchandle_get_target -mono_gchandle_new -mono_gchandle_new_weakref -mono_gc_invoke_finalizers -mono_gc_max_generation -mono_gc_wbarrier_arrayref_copy -mono_gc_wbarrier_generic_nostore -mono_gc_wbarrier_generic_store -mono_gc_wbarrier_generic_store_atomic -mono_gc_wbarrier_object_copy -mono_gc_wbarrier_set_arrayref -mono_gc_wbarrier_set_field -mono_gc_wbarrier_value_copy -mono_get_array_class -mono_get_boolean_class -mono_get_byte_class -mono_get_char_class -mono_get_config_dir -mono_get_corlib -mono_get_dbnull_object -mono_get_delegate_invoke -mono_get_double_class -mono_get_enum_class -mono_get_exception_appdomain_unloaded -mono_get_exception_argument -mono_get_exception_argument_null -mono_get_exception_argument_out_of_range -mono_get_exception_arithmetic -mono_get_exception_array_type_mismatch -mono_get_exception_bad_image_format -mono_get_exception_bad_image_format2 -mono_get_exception_cannot_unload_appdomain -mono_get_exception_class -mono_get_exception_divide_by_zero -mono_get_exception_execution_engine -mono_get_exception_field_access -mono_get_exception_file_not_found -mono_get_exception_file_not_found2 -mono_get_exception_index_out_of_range -mono_get_exception_invalid_cast -mono_get_exception_invalid_operation -mono_get_exception_io -mono_get_exception_method_access -mono_get_exception_missing_field -mono_get_exception_missing_method -mono_get_exception_not_implemented -mono_get_exception_not_supported -mono_get_exception_null_reference -mono_get_exception_out_of_memory -mono_get_exception_overflow -mono_get_exception_reflection_type_load -mono_get_exception_security -mono_get_exception_serialization -mono_get_exception_stack_overflow -mono_get_exception_synchronization_lock -mono_get_exception_thread_abort -mono_get_exception_thread_interrupted -mono_get_exception_thread_state -mono_get_exception_type_initialization -mono_get_exception_type_load -mono_get_int16_class -mono_get_int32_class -mono_get_int64_class -mono_get_intptr_class -mono_get_machine_config -mono_get_method -mono_get_method_full -mono_get_object_class -mono_get_root_domain -mono_get_sbyte_class -mono_get_single_class -mono_get_string_class -mono_get_thread_class -mono_get_trampoline_func -mono_get_uint16_class -mono_get_uint32_class -mono_get_uint64_class -mono_get_uintptr_class -mono_get_void_class -mono_g_hash_table_destroy -mono_g_hash_table_find -mono_g_hash_table_foreach -mono_g_hash_table_foreach_remove -mono_g_hash_table_insert -mono_g_hash_table_lookup -mono_g_hash_table_lookup_extended -mono_g_hash_table_new -mono_g_hash_table_new_full -mono_g_hash_table_new_type -mono_g_hash_table_remove -mono_g_hash_table_replace -mono_g_hash_table_size -mono_guid_to_string -mono_hazard_pointer_get -mono_image_addref -mono_image_close -mono_image_ensure_section -mono_image_ensure_section_idx -mono_image_fixup_vtable -mono_image_get_assembly -mono_image_get_entry_point -mono_image_get_filename -mono_image_get_guid -mono_image_get_name -mono_image_get_public_key -mono_image_get_resource -mono_image_get_strong_name -mono_image_get_table_info -mono_image_get_table_rows -mono_image_has_authenticode_entry -mono_image_is_dynamic -mono_image_loaded -mono_image_loaded_by_guid -mono_image_loaded_by_guid_full -mono_image_loaded_full -mono_image_load_file_for_image -mono_image_lookup_resource -mono_image_open -mono_image_open_from_data -mono_image_open_from_data_full -mono_image_open_from_data_with_name -mono_image_open_full -mono_image_rva_map -mono_images_cleanup -mono_image_strerror -mono_image_strong_name_position -mono_init -mono_init_from_assembly -mono_init_version -mono_install_assembly_load_hook -mono_install_assembly_postload_refonly_search_hook -mono_install_assembly_postload_search_hook -mono_install_assembly_preload_hook -mono_install_assembly_refonly_preload_hook -mono_install_assembly_refonly_search_hook -mono_install_assembly_search_hook -mono_install_runtime_cleanup -mono_install_threadpool_item_hooks -mono_install_threadpool_thread_hooks -mono_inst_name -mono_is_debugger_attached -mono_jit_cleanup -mono_jit_exec -mono_jit_info_get_code_size -mono_jit_info_get_code_start -mono_jit_info_get_method -mono_jit_info_table_find -mono_jit_init -mono_jit_init_version -mono_jit_parse_options -mono_jit_set_aot_only -mono_jit_set_trace_options -mono_ldstr -mono_ldtoken -mono_llvm_build_aligned_load -mono_llvm_build_alloca -mono_llvm_build_load -mono_llvm_create_ee -mono_llvm_dispose_ee -mono_llvm_dump_value -mono_llvm_optimize_method -mono_llvm_replace_uses_of -mono_load_remote_field -mono_load_remote_field_new -mono_local_deadce -mono_locks_dump -mono_lookup_internal_call -mono_lookup_pinvoke_call -mono_main -mono_marshal_string_to_utf16 -mono_md5_final -mono_md5_get_digest -mono_md5_get_digest_from_file -mono_md5_init -mono_md5_update -mono_mempool_alloc -mono_mempool_alloc0 -mono_mempool_contains_addr -mono_mempool_destroy -mono_mempool_empty -mono_mempool_get_allocated -mono_mempool_invalidate -mono_mempool_new -mono_mempool_new_size -mono_mempool_stats -mono_mempool_strdup -mono_metadata_blob_heap -mono_metadata_cleanup -mono_metadata_compute_size -mono_metadata_custom_attrs_from_index -mono_metadata_declsec_from_index -mono_metadata_decode_blob_size -mono_metadata_decode_row -mono_metadata_decode_row_col -mono_metadata_decode_signed_value -mono_metadata_decode_table_row -mono_metadata_decode_table_row_col -mono_metadata_decode_value -mono_metadata_encode_value -mono_metadata_events_from_typedef -mono_metadata_field_info -mono_metadata_field_info_with_mempool -mono_metadata_free_array -mono_metadata_free_inflated_signature -mono_metadata_free_marshal_spec -mono_metadata_free_method_signature -mono_metadata_free_mh -mono_metadata_free_type -mono_metadata_generic_class_is_valuetype -mono_metadata_get_constant_index -mono_metadata_get_inflated_signature -mono_metadata_get_marshal_info -mono_metadata_guid_heap -mono_metadata_implmap_from_method -mono_metadata_interfaces_from_typedef -mono_metadata_load_generic_params -mono_metadata_locate -mono_metadata_locate_token -mono_metadata_methods_from_event -mono_metadata_methods_from_property -mono_metadata_nested_in_typedef -mono_metadata_nesting_typedef -mono_metadata_packing_from_typedef -mono_metadata_parse_array -mono_metadata_parse_custom_mod -mono_metadata_parse_field_type -mono_metadata_parse_marshal_spec -mono_metadata_parse_method_signature -mono_metadata_parse_method_signature_full -mono_metadata_parse_mh -mono_metadata_parse_mh_full -mono_metadata_parse_param -mono_metadata_parse_signature -mono_metadata_parse_type -mono_metadata_parse_typedef_or_ref -mono_metadata_parse_type_full -mono_metadata_properties_from_typedef -mono_metadata_signature_alloc -mono_metadata_signature_dup -mono_metadata_signature_equal -mono_metadata_string_heap -mono_metadata_token_from_dor -mono_metadata_translate_token_index -mono_metadata_typedef_from_field -mono_metadata_typedef_from_method -mono_metadata_type_equal -mono_metadata_type_hash -mono_metadata_user_string -mono_method_body_get_object -mono_method_can_access_field -mono_method_can_access_method -mono_method_desc_free -mono_method_desc_from_method -mono_method_desc_full_match -mono_method_desc_match -mono_method_desc_new -mono_method_desc_search_in_class -mono_method_desc_search_in_image -mono_method_full_name -mono_method_get_class -mono_method_get_flags -mono_method_get_generic_container -mono_method_get_header -mono_method_get_index -mono_method_get_last_managed -mono_method_get_marshal_info -mono_method_get_name -mono_method_get_object -mono_method_get_param_names -mono_method_get_param_token -mono_method_get_signature -mono_method_get_signature_full -mono_method_get_token -mono_method_get_unmanaged_thunk -mono_method_has_marshal_info -mono_method_header_get_clauses -mono_method_header_get_code -mono_method_header_get_locals -mono_method_header_get_num_clauses -mono_method_signature -mono_method_verify -mono_mlist_alloc -mono_mlist_append -mono_mlist_get_data -mono_mlist_last -mono_mlist_length -mono_mlist_next -mono_mlist_prepend -mono_mlist_remove_item -mono_mlist_set_data -mono_mlist_set_next -mono_module_file_get_object -mono_module_get_object -mono_monitor_enter -mono_monitor_exit -mono_monitor_try_enter -mono_mprotect -mono_object_castclass_mbyref -mono_object_clone -mono_object_describe -mono_object_describe_fields -mono_object_get_class -mono_object_get_domain -mono_object_get_size -mono_object_get_virtual_method -mono_object_isinst -mono_object_isinst_mbyref -mono_object_new -mono_object_new_alloc_specific -mono_object_new_fast -mono_object_new_from_token -mono_object_new_specific -mono_object_unbox -mono_opcode_name -mono_opcode_value -mono_op_to_op_imm_noemul -mono_pagesize -mono_param_get_objects -mono_parse_default_optimizations -mono_path_canonicalize -mono_path_resolve_symlinks -mono_pe_file_open -mono_perfcounters_init -mono_personality -mono_pmip -mono_print_method_from_ip -mono_print_thread_dump -mono_print_thread_dump_from_ctx -mono_print_unhandled_exception -mono_profiler_coverage_get -mono_profiler_get_events -mono_profiler_install -mono_profiler_install_allocation -mono_profiler_install_appdomain -mono_profiler_install_assembly -mono_profiler_install_class -mono_profiler_install_code_buffer_new -mono_profiler_install_code_chunk_destroy -mono_profiler_install_code_chunk_new -mono_profiler_install_coverage_filter -mono_profiler_install_enter_leave -mono_profiler_install_exception -mono_profiler_install_gc -mono_profiler_install_gc_moves -mono_profiler_install_iomap -mono_profiler_install_jit_compile -mono_profiler_install_jit_end -mono_profiler_install_method_free -mono_profiler_install_method_invoke -mono_profiler_install_module -mono_profiler_install_monitor -mono_profiler_install_runtime_initialized -mono_profiler_install_statistical -mono_profiler_install_statistical_call_chain -mono_profiler_install_thread -mono_profiler_install_transition -mono_profiler_load -mono_profiler_set_events -mono_property_get_flags -mono_property_get_get_method -mono_property_get_name -mono_property_get_object -mono_property_get_parent -mono_property_get_set_method -mono_property_get_value -mono_property_hash_destroy -mono_property_hash_insert -mono_property_hash_lookup -mono_property_hash_new -mono_property_hash_remove_object -mono_property_set_value -mono_ptr_class_get -mono_raise_exception -mono_reflection_free_type_info -mono_reflection_get_custom_attrs -mono_reflection_get_custom_attrs_blob -mono_reflection_get_custom_attrs_by_type -mono_reflection_get_custom_attrs_data -mono_reflection_get_custom_attrs_info -mono_reflection_get_token -mono_reflection_get_type -mono_reflection_parse_type -mono_reflection_type_from_name -mono_register_bundled_assemblies -mono_register_machine_config -mono_replace_ins -mono_runtime_class_init -mono_runtime_cleanup -mono_runtime_delegate_invoke -mono_runtime_exec_main -mono_runtime_exec_managed_code -mono_runtime_get_main_args -mono_runtime_init -mono_runtime_invoke -mono_runtime_invoke_array -mono_runtime_is_shutting_down -mono_runtime_object_init -mono_runtime_quit -mono_runtime_run_main -mono_security_core_clr_require_elevated_permissions -mono_security_enable_core_clr -mono_security_set_core_clr_platform_callback -mono_sem_post -mono_sem_timedwait -mono_sem_wait -mono_set_break_policy -mono_set_defaults -mono_set_dirs -mono_set_is_debugger_attached -mono_set_signal_chaining -mono_sha1_final -mono_sha1_get_digest -mono_sha1_get_digest_from_file -mono_sha1_init -mono_sha1_update -mono_signature_explicit_this -mono_signature_get_call_conv -mono_signature_get_desc -mono_signature_get_param_count -mono_signature_get_params -mono_signature_get_return_type -mono_signature_hash -mono_signature_is_instance -mono_signature_vararg_start -mono_signbit_double -mono_signbit_float -mono_stack_walk -mono_stack_walk_no_il -mono_store_remote_field -mono_store_remote_field_new -mono_string_chars -mono_string_equal -mono_string_from_bstr -mono_string_from_utf16 -mono_string_hash -mono_stringify_assembly_name -mono_string_intern -mono_string_is_interned -mono_string_length -mono_string_new -mono_string_new_len -mono_string_new_size -mono_string_new_utf16 -mono_string_new_wrapper -mono_string_to_utf16 -mono_string_to_utf8 -mono_table_info_get_rows -mono_thread_attach -mono_thread_cleanup -mono_thread_create -mono_thread_current -mono_thread_detach -mono_thread_exit -mono_thread_get_main -mono_thread_get_undeniable_exception -mono_thread_hazardous_free_or_queue -mono_thread_hazardous_try_free_all -mono_thread_manage -mono_thread_new_init -mono_thread_set_main -mono_thread_set_manage_callback -mono_threads_get_default_stacksize -mono_threads_install_cleanup -mono_threads_request_thread_dump -mono_threads_set_default_stacksize -mono_thread_stop -mono_trace_set_level_string -mono_trace_set_mask_string -mono_type_create_from_typespec -mono_type_full_name -mono_type_generic_inst_is_valuetype -mono_type_get_array_type -mono_type_get_class -mono_type_get_desc -mono_type_get_modifiers -mono_type_get_name -mono_type_get_object -mono_type_get_ptr_type -mono_type_get_signature -mono_type_get_type -mono_type_get_underlying_type -mono_type_is_byref -mono_type_is_pointer -mono_type_is_reference -mono_type_is_struct -mono_type_is_valid_enum_basetype -mono_type_is_void -mono_type_size -mono_type_stack_size -mono_type_to_unmanaged -mono_unhandled_exception -mono_unicode_from_external -mono_unicode_to_external -mono_upgrade_remote_class_wrapper -mono_utf8_from_external -mono_utf8_validate_and_len -mono_utf8_validate_and_len_with_bounds -mono_valloc -mono_value_box -mono_value_copy -mono_value_copy_array -mono_value_describe_fields -mono_verify_corlib -mono_vfree -mono_vtable_get_static_field_data -mono_walk_stack -mono_win32_compat_CopyMemory -mono_win32_compat_FillMemory -mono_win32_compat_MoveMemory -mono_win32_compat_ZeroMemory -_ZN20MonoJITMemoryManager11AllocateGOTEv -_ZN20MonoJITMemoryManager12allocateStubEPKN4llvm11GlobalValueEjj -_ZN20MonoJITMemoryManager13allocateSpaceEij -_ZN20MonoJITMemoryManager13SetDlsymTableEPv -_ZN20MonoJITMemoryManager14allocateGlobalEjj -_ZN20MonoJITMemoryManager15endFunctionBodyEPKN4llvm8FunctionEPhS4_ -_ZN20MonoJITMemoryManager17endExceptionTableEPKN4llvm8FunctionEPhS4_S4_ -_ZN20MonoJITMemoryManager17setMemoryWritableEv -_ZN20MonoJITMemoryManager17startFunctionBodyEPKN4llvm8FunctionERj -_ZN20MonoJITMemoryManager19setMemoryExecutableEv -_ZN20MonoJITMemoryManager19startExceptionTableEPKN4llvm8FunctionERj -_ZN20MonoJITMemoryManager24deallocateMemForFunctionEPKN4llvm8FunctionE -_ZN20MonoJITMemoryManagerC1Ev -_ZN20MonoJITMemoryManagerC2Ev -_ZN20MonoJITMemoryManagerD0Ev -_ZN20MonoJITMemoryManagerD1Ev -_ZN20MonoJITMemoryManagerD2Ev -CloseHandle -closesocket -CopyFile -CreateDirectory -CreateEvent -CreateFile -CreateMutex -CreatePipe -CreateProcess -CreateProcessWithLogonW -CreateSemaphore -CreateThread -DeleteCriticalSection -DeleteFile -DuplicateHandle -EnumProcesses -EnumProcessModules -errno_to_WSA -ExitThread -FileTimeToSystemTime -FindClose -FindFirstFile -FindNextFile -FlushFileBuffers -FormatMessage -GetCurrentDirectory -GetCurrentProcess -GetCurrentProcessId -GetCurrentThread -GetCurrentThreadId -GetDiskFreeSpaceEx -GetDriveType -GetExitCodeProcess -GetExitCodeThread -GetFileAttributes -GetFileAttributesEx -GetFileSize -GetFileTime -GetFileType -GetFileVersionInfo -GetFileVersionInfoSize -GetLastError -GetLogicalDriveStrings -GetModuleBaseName -GetModuleFileNameEx -GetModuleInformation -GetPriorityClass -GetProcessId -GetProcessTimes -GetProcessWorkingSetSize -GetStdHandle -GetSystemInfo -GetTempPath -GetThreadContext -GetTickCount -ImpersonateLoggedOnUser -InitializeCriticalSection -InitializeCriticalSectionAndSpinCount -ioctlsocket -LockFile -mono_once -mono_pthread_key_for_tls -MoveFile -OpenEvent -OpenMutex -OpenProcess -OpenSemaphore -OpenThread -PulseEvent -QueryPerformanceCounter -QueryPerformanceFrequency -QueueUserAPC -ReadFile -ReleaseMutex -ReleaseSemaphore -RemoveDirectory -ReplaceFile -ResetEvent -ResumeThread -RevertToSelf -SetCriticalSectionSpinCount -SetCurrentDirectory -SetEndOfFile -SetEvent -SetFileAttributes -SetFilePointer -SetFileTime -SetLastError -SetPriorityClass -SetProcessWorkingSetSize -ShellExecuteEx -SignalObjectAndWait -Sleep -SleepEx -SuspendThread -TerminateProcess -TlsAlloc -TlsFree -TlsGetValue -TlsSetValue -TransmitFile -TryEnterCriticalSection -UnlockFile -VerLanguageName -VerQueryValue -WaitForInputIdle -WaitForMultipleObjects -WaitForMultipleObjectsEx -WaitForSingleObject -WaitForSingleObjectEx -wapi_clear_interruption -wapi_current_thread_desc -wapi_interrupt_thread -wapi_self_interrupt -wapi_thread_clear_wait_handle -wapi_thread_set_wait_handle -WriteFile -WSACleanup -WSAGetLastError -WSAIoctl -WSARecv -WSASend -WSASetLastError -WSAStartup diff --git a/docs/documented b/docs/documented deleted file mode 100644 index e02682acddc..00000000000 --- a/docs/documented +++ /dev/null @@ -1,1019 +0,0 @@ -mono_assembly_open -mono_assembly_close -mono_assembly_load -mono_assembly_load_full -mono_assembly_loaded -mono_assembly_get_image -mono_assembly_get_main -mono_assembly_getrootdir -mono_assembly_addref -mono_assembly_name_parse -mono_assembly_name_free -mono_stringify_assembly_name -mono_assembly_names_equal -mono_class_array_element_size -mono_class_create_generic_2 -mono_class_create_generic -mono_class_data_size -mono_class_enum_basetype -mono_class_from_generic_parameter -mono_class_from_mono_type -mono_class_from_name_case -mono_class_from_name -mono_class_from_typeref -mono_class_get_allocation_ftn -mono_class_get_byref_type -mono_class_get_element_class -mono_class_get_events -mono_class_get_event_token -mono_class_get_field_from_name -mono_class_get_field -mono_class_get_fields -mono_class_get_field_token -mono_class_get_flags -mono_class_get_full -mono_class_get_image -mono_class_get_implemented_interfaces -mono_class_get_interfaces -mono_class_get_method_from_name -mono_class_get_methods -mono_class_get -mono_class_get_name -mono_class_get_namespace -mono_class_get_nested_types -mono_class_get_nesting_type -mono_class_get_overrides -mono_class_get_parent -mono_class_get_properties -mono_class_get_property_from_name -mono_class_get_property_token -mono_class_get_rank -mono_class_get_type -mono_class_inflate_generic_method -mono_class_inflate_generic_type -mono_class_init -mono_class_instance_size -mono_class_is_assignable_from -mono_class_is_enum -mono_class_is_open_constructed_type -mono_class_is_subclass_of -mono_class_is_valuetype -mono_class_layout_fields -mono_class_min_align -mono_class_native_size -mono_class_needs_cctor_run -mono_class_num_events -mono_class_num_fields -mono_class_num_methods -mono_class_num_properties -mono_class_setup_mono_type -mono_class_setup_parent -mono_class_setup_supertypes -mono_class_setup_vtable -mono_class_value_size -mono_class_vtable -mono_class_get_cctor -mono_class_get_finalizer -mono_class_get_method_from_name_flags -mono_class_inflate_generic_signature -mono_class_name_from_token -mono_class_setup_methods -mono_class_setup_vtable_general -mono_class_get_exception_for_failure -mono_class_is_nullable -mono_code_manager_commit -mono_code_manager_destroy -mono_code_manager_foreach -mono_code_manager_invalidate -mono_code_manager_new_dynamic -mono_code_manager_new -mono_code_manager_reserve -mono_install_assembly_load_hook -mono_install_assembly_preload_hook -mono_install_assembly_search_hook -mono_install_compile_method -mono_install_free_method -mono_install_handler -mono_install_lookup_dynamic_token -mono_install_remoting_trampoline -mono_install_runtime_invoke -mono_install_stack_walk -mono_install_thread_callbacks -mono_install_trampoline -mono_install_runtime_cleanup -mono_install_assembly_postload_refonly_search_hook -mono_install_assembly_postload_search_hook -mono_install_assembly_refonly_preload_hook -mono_install_assembly_refonly_search_hook -mono_install_delegate_trampoline -mono_counters_dump -mono_counters_enable -mono_counters_register -mono_debug_il_offset_from_address -mono_debug_open_mono_symbol_file -mono_debug_source_location_from_address -mono_debug_source_location_from_il_offset -mono_debug_add_aot_method -mono_debug_add_method -_mono_debug_address_from_il_offset -mono_debug_address_from_il_offset -mono_debug_add_wrapper -mono_debug_close_mono_symbol_file -mono_debug_find_method -mono_debug_find_source_location -mono_debug_using_mono_debugger -mono_debugger_add_builtin_types -mono_debugger_add_method -mono_debugger_add_symbol_file -mono_debugger_add_type -mono_debugger_add_wrapper -mono_debugger_breakpoint_callback -mono_debugger_check_runtime_version -mono_debugger_create_notification_function -mono_debugger_event -_mono_debugger_get_symfile -mono_debugger_handle_exception -mono_debugger_insert_breakpoint_full -mono_debugger_insert_breakpoint -mono_debugger_lock -mono_debugger_lookup_assembly -mono_debugger_lookup_type -mono_debugger_method_has_breakpoint -mono_debugger_remove_breakpoint -mono_debugger_runtime_invoke -mono_debugger_start_add_type -mono_debugger_throw_exception -mono_debugger_unhandled_exception -mono_debugger_unlock -mono_debugger_finalize_threads -mono_debugger_main -mono_debugger_run_finally -mono_decimal2double -mono_decimal2Int64 -mono_decimal2string -mono_decimal2UInt64 -mono_decimalCompare -mono_decimalDiv -mono_decimalFloorAndTrunc -mono_decimalIncr -mono_decimalIntDiv -mono_decimalMult -mono_decimalRound -mono_decimalSetExponent -mono_double2decimal -mono_string2decimal -mono_domain_assembly_open -mono_domain_create -mono_domain_finalize -mono_domain_foreach -mono_domain_free -mono_domain_get_by_id -mono_domain_get_id -mono_domain_get -mono_domain_has_type_resolve -mono_domain_is_unloading -mono_domain_set_internal -mono_domain_set -mono_domain_try_type_resolve -mono_domain_get_tls_key -mono_domain_owns_vtable_slot -mono_context_get -mono_context_set -mono_mb_new -mono_mb_add_data -mono_mb_add_local -mono_mb_create_method -mono_mb_emit_add_to_local -mono_mb_emit_branch -mono_mb_emit_byte -mono_mb_emit_exception -mono_mb_emit_i2 -mono_mb_emit_i4 -mono_mb_emit_icon -mono_mb_emit_ldarg_addr -mono_mb_emit_ldarg -mono_mb_emit_ldflda -mono_mb_emit_ldloc_addr -mono_mb_emit_ldloc -mono_mb_emit_ldstr -mono_mb_emit_managed_call -mono_mb_emit_native_call -mono_mb_emit_stloc -mono_mb_free -mono_mb_patch_addr -mono_mb_patch_addr_s -mono_metadata_signature_alloc -mono_metadata_signature_dup -mono_metadata_signature_equal -mono_jit_init -mono_set_dirs -mono_runtime_exec_main -mono_runtime_exec_managed_code -mono_jit_cleanup -mono_set_defaults -mono_add_internal_call -mono_config_parse -mono_config_parse_memory -mono_create_ftnptr -mono_raise_exception -mono_unhandled_exception -mono_print_unhandled_exception -mono_handle_exception -mono_exception_from_name_domain -mono_exception_from_name -mono_exception_from_name_msg -mono_exception_from_name_two_strings -mono_get_exception_appdomain_unloaded -mono_get_exception_argument -mono_get_exception_argument_null -mono_get_exception_argument_out_of_range -mono_get_exception_arithmetic -mono_get_exception_array_type_mismatch -mono_get_exception_bad_image_format -mono_get_exception_cannot_unload_appdomain -mono_get_exception_class -mono_get_exception_divide_by_zero -mono_get_exception_execution_engine -mono_get_exception_file_not_found2 -mono_get_exception_file_not_found -mono_get_exception_index_out_of_range -mono_get_exception_invalid_cast -mono_get_exception_io -mono_get_exception_missing_method -mono_get_exception_not_implemented -mono_get_exception_null_reference -mono_get_exception_overflow -mono_get_exception_security -mono_get_exception_serialization -mono_get_exception_stack_overflow -mono_get_exception_synchronization_lock -mono_get_exception_thread_abort -mono_get_exception_thread_state -mono_get_exception_type_initialization -mono_get_exception_type_load -mono_get_exception_invalid_operation -mono_get_exception_missing_field -mono_get_exception_not_supported -mono_get_exception_reflection_type_load -mono_gchandle_new -mono_gchandle_new_weakref -mono_gchandle_get_target -mono_gchandle_is_in_domain -mono_gchandle_free -mono_gc_collect -mono_gc_max_generation -mono_gc_get_heap_size -mono_gc_get_used_size -mono_gc_weak_link_add -mono_gc_weak_link_get -mono_gc_weak_link_remove -mono_gc_disable -mono_gc_enable -mono_gc_start_world -mono_gc_stop_world -mono_gc_alloc_fixed -mono_gc_free_fixed -mono_gc_make_descr_from_bitmap -mono_gc_base_init -mono_gc_invoke_finalizers -mono_gc_is_gc_thread -mono_gc_pending_finalizers -mono_gc_register_thread -mono_gc_finalize_notify -mono_image_open -mono_image_open_full -mono_image_open_from_data -mono_image_open_from_data_full -mono_image_close -mono_image_addref -mono_image_load_file_for_image -mono_image_get_guid -mono_image_get_assembly -mono_image_get_entry_point -mono_image_get_filename -mono_image_get_name -mono_image_get_resource -mono_image_get_table_info -mono_image_get_table_rows -mono_image_is_dynamic -mono_image_loaded_by_guid -mono_image_loaded -mono_image_lookup_resource -mono_image_strerror -mono_image_strong_name_position -mono_image_get_public_key -mono_image_get_strong_name -mono_image_has_authenticode_entry -mono_image_rva_map -mono_image_ensure_section_idx -mono_image_ensure_section -mono_burg_kids -mono_burg_label -mono_burg_rule -mono_interp_dis_mintop -mono_interp_exec -mono_interp_ftnptr_to_delegate -mono_interp_get_runtime_method -mono_interp_transform_init -mono_interp_transform_method -mono_pmip -mono_print_method_from_ip -mono_print_thread_dump -mono_threads_request_thread_dump -mono_inst_name -mono_profiler_load -mono_profiler_allocation -mono_profiler_stat_hit -mono_profiler_thread_start -mono_profiler_thread_end -mono_profiler_appdomain_event -mono_profiler_appdomain_loaded -mono_profiler_assembly_event -mono_profiler_assembly_loaded -mono_profiler_class_event -mono_profiler_class_loaded -mono_profiler_code_transition -mono_profiler_method_end_jit -mono_profiler_method_enter -mono_profiler_method_jit -mono_profiler_method_leave -mono_profiler_module_event -mono_profiler_module_loaded -mono_profiler_shutdown -mono_profiler_startup -mono_profiler_gc_event -mono_profiler_gc_heap_resize -mono_profiler_gc_event -mono_profiler_gc_heap_resize -mono_profiler_stat_hit -mono_delegate_free_ftnptr -mono_delegate_to_ftnptr -mono_ftnptr_to_delegate -mono_marshal_alloc -mono_marshal_asany -mono_marshal_free_array -mono_marshal_free_asany -mono_marshal_free -mono_marshal_get_castclass -mono_marshal_get_delegate_begin_invoke -mono_marshal_get_delegate_end_invoke -mono_marshal_get_delegate_invoke -mono_marshal_get_icall_wrapper -mono_marshal_get_isinst -mono_marshal_get_ldfld_remote_wrapper -mono_marshal_get_ldfld_wrapper -mono_marshal_get_managed_wrapper -mono_marshal_get_native_wrapper -mono_marshal_get_proxy_cancast -mono_marshal_get_ptr_to_struct -mono_marshal_get_remoting_invoke_for_target -mono_marshal_get_remoting_invoke -mono_marshal_get_remoting_invoke_with_check -mono_marshal_get_runtime_invoke -mono_marshal_get_stelemref -mono_marshal_get_stfld_remote_wrapper -mono_marshal_get_stfld_wrapper -mono_marshal_get_struct_to_ptr -mono_marshal_get_synchronized_wrapper -mono_marshal_get_unbox_wrapper -mono_marshal_get_xappdomain_invoke -mono_marshal_load_type_info -mono_marshal_method_from_wrapper -mono_marshal_realloc -mono_marshal_set_last_error -mono_marshal_string_to_utf16 -mono_marshal_type_size -mono_metadata_guid_heap -mono_metadata_string_heap -mono_metadata_blob_heap -mono_metadata_user_string -mono_metadata_decode_blob_size -mono_image_get_table_info -mono_image_get_table_rows -mono_metadata_get_table -mono_meta_table_name -mono_metadata_decode_row_col -mono_metadata_decode_row -mono_metadata_compute_size -mono_metadata_custom_attrs_from_index -mono_metadata_decode_signed_value -mono_metadata_decode_value -mono_metadata_encode_value -mono_cli_rva_image_map -mono_pe_file_open -mono_metadata_events_from_typedef -mono_metadata_field_info -mono_metadata_free_array -mono_metadata_free_marshal_spec -mono_metadata_free_mh -mono_metadata_free_type -mono_metadata_get_constant_index -mono_metadata_get_marshal_info -mono_metadata_implmap_from_method -mono_metadata_interfaces_from_typedef_full -mono_metadata_interfaces_from_typedef -mono_metadata_locate -mono_metadata_locate_token -mono_metadata_methods_from_event -mono_metadata_methods_from_property -mono_metadata_nested_in_typedef -mono_metadata_nesting_typedef -mono_metadata_packing_from_typedef -mono_metadata_properties_from_typedef -mono_metadata_token_from_dor -mono_metadata_typedef_from_field -mono_metadata_typedef_from_method -mono_metadata_type_equal -mono_metadata_type_hash -mono_metadata_declsec_from_index -mono_metadata_free_method_signature -mono_metadata_parse_custom_mod -mono_metadata_parse_field_type -mono_metadata_parse_marshal_spec -mono_metadata_parse_method_signature_full -mono_metadata_parse_method_signature -mono_metadata_parse_mh_full -mono_metadata_parse_mh -mono_metadata_parse_param -mono_metadata_parse_signature_full -mono_metadata_parse_signature -mono_metadata_parse_typedef_or_ref -mono_metadata_parse_type_full -mono_metadata_parse_type -mono_loader_lock -mono_loader_unlock -mono_metadata_generic_class_is_valuetype -mono_metadata_has_generic_params -mono_metadata_inflate_generic_inst -mono_metadata_parse_generic_inst -mono_metadata_generic_inst_equal -mono_metadata_generic_inst_hash -mono_metadata_load_generic_params -mono_metadata_generic_inst_is_valuetype -mono_metadata_generic_method_equal -mono_ldtoken -mono_lookup_dynamic_token -mono_ldstr -mono_exception_from_token -mono_create_jit_trampoline_from_token -mono_opcode_name -mono_opcode_value -mono_loader_set_error_field_load -mono_loader_set_error_method_load -mono_loader_set_error_type_load -mono_loader_get_last_error -mono_loader_clear_error -mono_loader_error_prepare_exception -mono_runtime_invoke -mono_runtime_invoke_array -mono_remoting_invoke -mono_runtime_delegate_invoke -mono_method_call_message_new -mono_method_desc_free -mono_method_desc_from_method -mono_method_desc_full_match -mono_method_desc_match -mono_method_desc_new -mono_method_desc_search_in_class -mono_method_desc_search_in_image -mono_method_full_name -mono_method_get_class -mono_method_get_flags -mono_method_get_last_managed -mono_method_get_marshal_info -mono_method_get_name -mono_method_get_object -mono_method_get_param_names -mono_method_get_param_token -mono_method_get_signature -mono_method_get_index -mono_method_get_signature_full -mono_method_get_token -mono_method_get_wrapper_data -mono_method_has_marshal_info -mono_method_return_message_restore -mono_method_same_domain -mono_method_verify -mono_method_signature -mono_signature_explicit_this -mono_signature_get_call_conv -mono_signature_get_desc -mono_signature_get_param_count -mono_signature_get_params -mono_signature_get_return_type -mono_signature_hash -mono_signature_is_instance -mono_signature_vararg_start -mono_method_get_header -mono_method_header_get_clauses -mono_method_header_get_code -mono_method_header_get_locals -mono_method_header_get_num_clauses -mono_object_new -mono_object_new_alloc_specific -mono_object_new_fast -mono_object_new_from_token -mono_object_new_specific -mono_object_clone -mono_object_get_class -mono_object_get_domain -mono_object_get_virtual_method -mono_object_isinst_mbyref -mono_object_isinst -mono_object_register_finalizer -mono_object_unbox -mono_object_castclass_mbyref -mono_object_get_size -mono_value_box -mono_value_copy -mono_value_copy_array -mono_array_new -mono_array_new_full -mono_array_new_specific -mono_array_class_get -mono_array_clone_in_domain -mono_array_clone -mono_array_full_copy -mono_array_to_lparray -mono_array_to_savearray -mono_dup_array_type -mono_array_set -mono_array_setref -mono_array_length -mono_array_addr -mono_array_addr_with_size -mono_array_get -mono_array_element_size -mono_field_from_token -mono_field_get_flags -mono_field_get_name -mono_field_get_parent -mono_field_get_type -mono_field_get_value -mono_field_get_value_object -mono_field_set_value -mono_field_static_get_value -mono_field_static_set_value -mono_property_get_flags -mono_property_get_get_method -mono_property_get_name -mono_property_get_parent -mono_property_get_set_method -mono_property_get_value -mono_property_set_value -mono_event_get_add_method -mono_event_get_flags -mono_event_get_name -mono_event_get_parent -mono_event_get_raise_method -mono_event_get_remove_method -mono_delegate_ctor -mono_async_result_new -mono_load_remote_field -mono_load_remote_field_new -mono_store_remote_field -mono_store_remote_field_new -mono_nullable_box -mono_nullable_init -mono_profiler_install -mono_profiler_install_allocation -mono_profiler_install_appdomain -mono_profiler_install_assembly -mono_profiler_install_class -mono_profiler_install_coverage_filter -mono_profiler_install_enter_leave -mono_profiler_install_jit_compile -mono_profiler_install_module -mono_profiler_install_thread -mono_profiler_install_transition -mono_profiler_install_gc -mono_profiler_install_statistical -mono_profiler_set_events -mono_profiler_get_events -mono_profiler_coverage_get -mono_reflection_bind_generic_method_parameters -mono_reflection_bind_generic_parameters -mono_reflection_create_dynamic_method -mono_reflection_create_generic_class -mono_reflection_create_internal_class -mono_reflection_create_runtime_class -mono_reflection_event_builder_get_event_info -mono_reflection_generic_inst_initialize -mono_reflection_get_custom_attrs_blob -mono_reflection_get_custom_attrs -mono_custom_attrs_get_attr -mono_reflection_get_token -mono_reflection_get_type -mono_reflection_initialize_generic_parameter -mono_reflection_lookup_dynamic_token -mono_reflection_marshal_from_marshal_spec -mono_reflection_parse_type -mono_reflection_setup_generic_class -mono_reflection_setup_internal_class -mono_reflection_sighelper_get_signature_field -mono_reflection_sighelper_get_signature_local -mono_reflection_type_from_name -mono_reflection_generic_class_initialize -mono_reflection_get_custom_attrs_info -mono_custom_attrs_construct -mono_custom_attrs_free -mono_custom_attrs_from_assembly -mono_custom_attrs_from_class -mono_custom_attrs_from_event -mono_custom_attrs_from_field -mono_custom_attrs_from_index -mono_custom_attrs_from_method -mono_custom_attrs_from_param -mono_custom_attrs_from_property -mono_custom_attrs_has_attr -mono_module_file_get_object -mono_module_get_object -mono_method_body_get_object -mono_event_get_object -mono_assembly_get_object -mono_param_get_objects -mono_field_get_object -mono_property_get_object -mono_type_get_object -mono_is_security_manager_active -mono_security_manager_get_methods -mono_activate_security_manager -mono_is_ecma_key -mono_get_context_capture_method -mono_declsec_flags_from_assembly -mono_declsec_flags_from_class -mono_declsec_flags_from_method -mono_declsec_get_assembly_action -mono_declsec_get_class_action -mono_declsec_get_demands -mono_declsec_get_inheritdemands_class -mono_declsec_get_inheritdemands_method -mono_declsec_get_linkdemands -mono_declsec_get_method_action -mono_string_new -mono_string_new_len -mono_string_new_size -mono_string_new_utf16 -mono_string_from_utf16 -mono_string_to_byvalstr -mono_string_to_byvalwstr -mono_string_to_utf16 -mono_string_to_utf8 -mono_string_utf16_to_builder -mono_string_utf8_to_builder -mono_string_equal -mono_string_hash -mono_string_intern -mono_string_is_interned -mono_string_new_wrapper -mono_string_chars -mono_string_length -mono_string_builder_to_utf16 -mono_string_builder_to_utf8 -mono_unicode_from_external -mono_unicode_to_external -mono_utf8_from_external -mono_thread_abort_all_other_threads -mono_thread_attach -mono_thread_create -mono_thread_current -mono_thread_detach -mono_thread_exit -mono_thread_force_interruption_checkpoint -mono_thread_get_abort_signal -mono_thread_get_pending_exception -mono_thread_interruption_checkpoint -mono_thread_interruption_requested -mono_thread_interruption_request_flag -mono_thread_manage -mono_thread_new_init -mono_thread_pop_appdomain_ref -mono_thread_push_appdomain_ref -mono_thread_request_interruption -mono_threads_abort_appdomain_threads -mono_threads_get_default_stacksize -mono_threads_install_cleanup -mono_threads_set_default_stacksize -mono_thread_stop -mono_thread_get_main -mono_thread_set_main -mono_thread_get_tls_key -mono_pthread_key_for_tls -mono_thread_pool_add -mono_thread_pool_finish -mono_monitor_enter -mono_monitor_exit -mono_monitor_try_enter -mono_threads_clear_cached_culture -mono_thread_suspend_all_other_threads -mono_thread_has_appdomain_ref -mono_trace_cleanup -mono_trace -mono_trace_parse_options -mono_trace_pop -mono_trace_push -mono_trace_set_assembly -mono_trace_set_level -mono_trace_set_level_string -mono_trace_set_mask -mono_trace_set_mask_string -mono_tracev -mono_trace_is_traced -mono_type_create_from_typespec_full -mono_type_create_from_typespec -mono_type_full_name -mono_type_get_array_type -mono_type_get_class -mono_type_get_desc -mono_type_get_full_name -mono_type_get_modifiers -mono_type_get_name -mono_type_get_signature -mono_type_get_type -mono_type_get_underlying_type -mono_type_initialization_init -mono_type_is_byref -mono_type_native_stack_size -mono_type_size -mono_type_stack_size -mono_type_to_ldind -mono_type_to_stind -mono_type_to_unmanaged -mono_type_get_name_full -mono_type_generic_inst_is_valuetype -mono_get_object_class -mono_get_int16_class -mono_get_int32_class -mono_get_int64_class -mono_get_double_class -mono_get_enum_class -mono_get_intptr_class -mono_get_sbyte_class -mono_get_single_class -mono_get_string_class -mono_get_thread_class -mono_get_uint16_class -mono_get_uint32_class -mono_get_uint64_class -mono_get_uintptr_class -mono_get_void_class -mono_get_array_class -mono_get_boolean_class -mono_get_byte_class -mono_get_char_class -mono_get_dbnull_object -mini_compile_generic_method -mono_alloc_special_static_data -mono_bounded_array_class_get -mono_check_corlib_version -mono_compile_method -mono_config_for_assembly -mono_create_icall_signature -mono_create_jit_trampoline -mono_create_jump_table -mono_create_jump_trampoline -mono_dllmap_insert -mono_environment_exitcode_get -mono_environment_exitcode_set -mono_find_method_by_name -mono_free_method -mono_free_verify_list -mono_get_config_dir -mono_get_constant_value_from_blob -mono_get_corlib -mono_get_delegate_invoke -mono_get_framework_version -mono_get_method_full -mono_get_method -mono_get_root_domain -mono_get_runtime_version -mono_get_special_static_data -mono_init_from_assembly -mono_init -mono_init_version -mono_invoke_delegate -mono_jit_exec -mono_lookup_internal_call -mono_lookup_pinvoke_call -mono_main -mono_message_init -mono_message_invoke -mono_parse_default_optimizations -mono_perform_abc_removal -mono_ptr_class_get -mono_register_bundled_assemblies -mono_release_type_locks -mono_remote_class -mono_remote_class_vtable -mono_runtime_class_init -mono_runtime_cleanup -mono_runtime_free_method -mono_runtime_get_main_args -mono_runtime_init -mono_runtime_is_shutting_down -mono_runtime_object_init -mono_runtime_quit -mono_runtime_run_main -mono_table_info_get_rows -mono_upgrade_remote_class -mono_upgrade_remote_class_wrapper -mono_verify_corlib -mono_vtable_get_static_field_data -mono_wait_handle_new -mono_bitset_alloc_size -mono_bitset_clear -mono_bitset_clear_all -mono_bitset_clone -mono_bitset_copyto -mono_bitset_count -mono_bitset_equal -mono_bitset_find_first -mono_bitset_find_last -mono_bitset_find_start -mono_bitset_foreach -mono_bitset_free -mono_bitset_intersection -mono_bitset_invert -mono_bitset_mem_new -mono_bitset_new -mono_bitset_set -mono_bitset_set_all -mono_bitset_size -mono_bitset_sub -mono_bitset_test -mono_bitset_test_bulk -mono_bitset_union -mono_bitset_find_first_unset -mono_bitset_intersection_2 -mono_g_hash_table_destroy -mono_g_hash_table_foreach -mono_g_hash_table_foreach_remove -mono_g_hash_table_foreach_steal -mono_g_hash_table_insert -mono_g_hash_table_lookup -mono_g_hash_table_lookup_extended -mono_g_hash_table_new -mono_g_hash_table_new_full -mono_g_hash_table_remap -mono_g_hash_table_remove -mono_g_hash_table_replace -mono_g_hash_table_size -mono_g_hash_table_steal -mono_raw_buffer_load -mono_raw_buffer_update -mono_raw_buffer_free -mono_sha1_init -mono_sha1_update -mono_sha1_get_digest_from_file -mono_sha1_get_digest -mono_sha1_final -mono_md5_init -mono_md5_update -mono_md5_get_digest_from_file -mono_md5_get_digest -mono_md5_final -mono_digest_get_public_token -mono_mempool_new -mono_mempool_destroy -mono_mempool_alloc -mono_mempool_alloc0 -mono_mempool_empty -mono_mempool_invalidate -mono_mempool_stats -mono_mempool_contains_addr -mono_is_power_of_two -mono_signbit_double -mono_signbit_float -mono_disasm_code -mono_disasm_code_one -mono_disassemble_code -mono_walk_stack -mono_stack_walk_no_il -mono_escape_uri_string -mono_guid_to_string -BindIoCompletionCallback -CloseHandle -closesocket -CopyFile -CreateDirectory -CreateEvent -CreateFile -CreateMutex -CreatePipe -CreateProcess -CreateProcessWithLogonW -CreateSemaphore -CreateThread -DeleteCriticalSection -DeleteFile -DuplicateHandle -EnterCriticalSection -EnumProcesses -EnumProcessModules -errno_to_WSA -ExitThread -FileTimeToSystemTime -FindClose -FindFirstFile -FindNextFile -FlushFileBuffers -FormatMessage -GetCurrentDirectory -GetCurrentProcess -GetCurrentProcessId -GetCurrentThread -GetCurrentThreadId -GetDiskFreeSpaceEx -GetDriveType -GetExitCodeProcess -GetExitCodeThread -GetFileAttributesEx -GetFileAttributes -GetFileSize -GetFileTime -GetFileType -GetFileVersionInfo -GetFileVersionInfoSize -GetLastError -GetLogicalDriveStrings -GetModuleBaseName -GetModuleFileNameEx -GetModuleInformation -GetPriorityClass -GetProcessId -GetProcessTimes -GetProcessWorkingSetSize -GetStdHandle -GetSystemInfo -GetTempPath -GetThreadContext -GetTickCount -ImpersonateLoggedOnUser -InitializeCriticalSectionAndSpinCount -InitializeCriticalSection -ioctlsocket -LeaveCriticalSection -LockFile -MoveFile -OpenEvent -OpenMutex -OpenProcess -OpenSemaphore -OpenThread -PulseEvent -QueryPerformanceCounter -QueryPerformanceFrequency -QueueUserAPC -ReadFile -ReleaseMutex -ReleaseSemaphore -RemoveDirectory -ReplaceFile -ResetEvent -ResumeThread -RevertToSelf -SetCriticalSectionSpinCount -SetCurrentDirectory -SetEndOfFile -SetEvent -SetFileAttributes -SetFilePointer -SetFileTime -SetLastError -SetPriorityClass -SetProcessWorkingSetSize -ShellExecuteEx -SignalObjectAndWait -SleepEx -Sleep -SuspendThread -TerminateProcess -TlsAlloc -TlsFree -TlsGetValue -TlsSetValue -TransmitFile -TryEnterCriticalSection -UnlockFile -VerLanguageName -VerQueryValue -WaitForInputIdle -WaitForMultipleObjectsEx -WaitForMultipleObjects -WaitForSingleObjectEx -WaitForSingleObject -WriteFile -WSACleanup -WSAGetLastError -WSAIoctl -WSARecv -WSASend -WSASetLastError -WSAStartup -mono_once -wapi_clear_interruption -wapi_current_thread_desc -wapi_interrupt_thread -wapi_self_interrupt -wapi_thread_clear_wait_handle -wapi_thread_set_wait_handle diff --git a/docs/exdoc b/docs/exdoc index f2711d26b13..ce35052443e 100644 --- a/docs/exdoc +++ b/docs/exdoc @@ -58,26 +58,32 @@ if ($html){ } .api { - border: 1px solid; padding: 10pt; margin: 10pt; + border: 3px solid #ddd; } .api-entry { border-bottom: none; - font-size: 18px; + font-size: 150%; + font-family: "Consolas", "Courier", monospace; + padding-bottom: .5em; } .prototype { - border: 1px solid; - background-color: #f2f2f2; - padding: 5pt; + border: 3px solid #ecf0f1; + border-radius: 6px; + padding: .5em; margin-top: 5pt; - margin-bottom: 5pt; + margin-bottom: 5pt; + font-family: "Consolas", "Courier", monospace; + display: block; + overflow: auto; + background-color: #f9f9f9; } .header { - border: 1px solid; + padding: 0 0 5pt 5pt; margin: 10pt; white-space: pre; @@ -91,12 +97,19 @@ if ($html){ white-space: pre; font-family: monospace; } + + .strike { + text-decoration: line-through; + } + .deprecated { + color: red; + } </style> </head> <body> EOF @a = split (/\n/, $files_content[$f]); - + $strikeextra = ""; for ($ai = 0; $ai < $#a; $ai++){ $line = $a[$ai]; @@ -104,6 +117,13 @@ EOF if ($api ne ""){ if ($api_shown == 1){ print OUT "</div>"; + if ($deprecated{$api}){ + $strike = "strike"; + $strikeextra = "</div><br><div class='deprecated'><b>Deprecated:</b> " . $deprecated{$api}; + } else { + $strike = ""; + $strikeextra = ""; + } } $api_shown = 1; $proto = $prototype{$api}; @@ -114,14 +134,14 @@ EOF print OUT<<EOF; <a name="api:$api"></a> <div class="api"> - <div class="api-entry">$api</div> - + <div class="api-entry $strike">$api$strikeextra</div> + <div><b>Syntax</b></div> <div class="prototype">$proto</div> <p> EOF &opt_print ("Parameters", $arguments{$api}, 1); &opt_print ("Returns", $returns{$api}, 1); - &opt_print ("Remarks", $bodies{$api}, 0); + &opt_print ("Description", $bodies{$api}, 0); print OUT "\n"; } else { if ($line =~ /@API_IDX@/){ @@ -168,7 +188,8 @@ sub process_doc { $returns = ""; $body = ""; $functions[$fn++] = $func; - + $deprecated = 0; + # Process arguments while (<>){ if (/^ \*\*?\//){ @@ -179,6 +200,7 @@ sub process_doc { $body =~ s/\n/ /; $bodies{$func} = $body; $arguments{$func} = $args; + $deprecated{$func} = $deprecated; $returns{$func} = $returns; $proto = ""; while (<>){ @@ -199,7 +221,11 @@ sub process_doc { if ($inbody == 0){ if (/\s*(\w+):(.*)/){ - $args .= "<dt><i>$1:</i></dt><dd>$2</dd>"; + if ($1 eq "deprecated"){ + $deprecated = $2; + } else { + $args .= "<dt><i>$1:</i></dt><dd>$2</dd>"; + } } else { $body = "\t$_\n"; diff --git a/docs/public b/docs/public deleted file mode 100644 index 1defaf0f689..00000000000 --- a/docs/public +++ /dev/null @@ -1,79 +0,0 @@ -mono_array_clone -mono_array_clone_in_domain -mono_array_full_copy -mono_array_new -mono_array_new_full -mono_array_new_specific -mono_async_result_new -mono_class_get_allocation_ftn -mono_class_vtable -mono_compile_method -mono_delegate_ctor -mono_field_get_value -mono_field_get_value_object -mono_field_set_value -mono_field_static_get_value -mono_field_static_set_value -mono_get_constant_value_from_blob -mono_get_delegate_invoke -mono_install_compile_method -mono_install_free_method -mono_install_handler -mono_install_remoting_trampoline -mono_install_runtime_invoke -mono_install_trampoline -mono_ldstr -mono_load_remote_field -mono_load_remote_field_new -mono_message_init -mono_message_invoke -mono_method_call_message_new -mono_method_return_message_restore -mono_object_castclass_mbyref -mono_object_clone -mono_object_get_class -mono_object_get_domain -mono_object_get_virtual_method -mono_object_isinst -mono_object_isinst_mbyref -mono_object_new -mono_object_new_alloc_specific -mono_object_new_fast -mono_object_new_from_token -mono_object_new_specific -mono_object_unbox -mono_print_unhandled_exception -mono_property_get_value -mono_property_set_value -mono_raise_exception -mono_release_type_locks -mono_remote_class -mono_remote_class_vtable -mono_remoting_invoke -mono_runtime_class_init -mono_runtime_delegate_invoke -mono_runtime_exec_main -mono_runtime_exec_managed_code -mono_runtime_free_method -mono_runtime_get_main_args -mono_runtime_invoke -mono_runtime_invoke_array -mono_runtime_object_init -mono_runtime_run_main -mono_store_remote_field -mono_store_remote_field_new -mono_string_from_utf16 -mono_string_intern -mono_string_is_interned -mono_string_new -mono_string_new_len -mono_string_new_size -mono_string_new_utf16 -mono_string_new_wrapper -mono_string_to_utf16 -mono_string_to_utf8 -mono_type_initialization_init -mono_unhandled_exception -mono_upgrade_remote_class -mono_value_box -mono_wait_handle_new diff --git a/docs/public-api b/docs/public-api deleted file mode 100644 index 31e42c6fe77..00000000000 --- a/docs/public-api +++ /dev/null @@ -1,827 +0,0 @@ -dlfree -dlmalloc -dlmemalign -free_list_index_of -g_printerr -g_ptr_array_remove_fast -invoke_protected_memory_method -mini_debugger_init -mini_debugger_main -mini_debugger_set_attach_ok -mini_debug_running_inside_mdb -mini_emit_initobj -mini_emit_stobj -mono_add_internal_call -mono_aot_register_globals -mono_aot_register_module -mono_array_addr_with_size -mono_array_class_get -mono_array_clone -mono_array_element_size -mono_array_length -mono_array_new -mono_array_new_full -mono_array_new_specific -mono_assemblies_cleanup -mono_assembly_close -mono_assembly_get_image -mono_assembly_get_main -mono_assembly_get_object -mono_assembly_getrootdir -mono_assembly_load -mono_assembly_loaded -mono_assembly_loaded_full -mono_assembly_load_full -mono_assembly_name_free -mono_assembly_name_get_culture -mono_assembly_name_get_name -mono_assembly_name_get_pubkeytoken -mono_assembly_name_get_version -mono_assembly_name_new -mono_assembly_names_equal -mono_assembly_open -mono_bitset_alloc_size -mono_bitset_clear -mono_bitset_clear_all -mono_bitset_clone -mono_bitset_copyto -mono_bitset_count -mono_bitset_equal -mono_bitset_find_first -mono_bitset_find_first_unset -mono_bitset_find_last -mono_bitset_find_start -mono_bitset_foreach -mono_bitset_free -mono_bitset_intersection -mono_bitset_intersection_2 -mono_bitset_invert -mono_bitset_mem_new -mono_bitset_new -mono_bitset_set -mono_bitset_set_all -mono_bitset_size -mono_bitset_sub -mono_bitset_test -mono_bitset_test_bulk -mono_bitset_union -mono_bounded_array_class_get -mono_breakpoint_clean_code -mono_check_corlib_version -mono_class_array_element_size -mono_class_data_size -mono_class_describe_statics -mono_class_enum_basetype -mono_class_from_generic_parameter -mono_class_from_mono_type -mono_class_from_name -mono_class_from_name_case -mono_class_from_typeref -mono_class_get -mono_class_get_byref_type -mono_class_get_element_class -mono_class_get_events -mono_class_get_event_token -mono_class_get_field -mono_class_get_field_from_name -mono_class_get_fields -mono_class_get_field_token -mono_class_get_flags -mono_class_get_full -mono_class_get_image -mono_class_get_interfaces -mono_class_get_method_from_name -mono_class_get_method_from_name_flags -mono_class_get_methods -mono_class_get_name -mono_class_get_namespace -mono_class_get_nested_types -mono_class_get_nesting_type -mono_class_get_parent -mono_class_get_properties -mono_class_get_property_from_name -mono_class_get_property_token -mono_class_get_rank -mono_class_get_type -mono_class_get_type_token -mono_class_inflate_generic_method -mono_class_inflate_generic_type -mono_class_init -mono_class_instance_size -mono_class_interface_offset -mono_class_is_assignable_from -mono_class_is_enum -mono_class_is_subclass_of -mono_class_is_valid_enum -mono_class_is_valuetype -mono_class_min_align -mono_class_name_from_token -mono_class_num_events -mono_class_num_fields -mono_class_num_methods -mono_class_num_properties -mono_class_value_size -mono_class_vtable -mono_cli_rva_image_map -mono_code_manager_commit -mono_code_manager_destroy -mono_code_manager_foreach -mono_code_manager_invalidate -mono_code_manager_new -mono_code_manager_new_dynamic -mono_code_manager_reserve -mono_code_manager_reserve_align -mono_code_manager_set_read_only -mono_code_manager_size -mono_compile_method -mono_config_for_assembly -mono_config_parse -mono_config_parse_memory -mono_config_string_for_assembly_file -mono_context_get -mono_context_get_desc -mono_context_set -mono_counters_cleanup -mono_counters_dump -mono_counters_enable -mono_counters_register -mono_custom_attrs_construct -mono_custom_attrs_free -mono_custom_attrs_from_assembly -mono_custom_attrs_from_class -mono_custom_attrs_from_event -mono_custom_attrs_from_field -mono_custom_attrs_from_index -mono_custom_attrs_from_method -mono_custom_attrs_from_param -mono_custom_attrs_from_property -mono_custom_attrs_get_attr -mono_custom_attrs_has_attr -mono_debug_add_method -_mono_debug_address_from_il_offset -mono_debug_close_image -mono_debug_close_mono_symbol_file -mono_debug_domain_create -mono_debug_domain_unload -mono_debug_find_method -mono_debug_free_source_location -mono_debugger_abort_runtime_invoke -mono_debugger_breakpoint_callback -mono_debugger_call_exception_handler -mono_debugger_check_breakpoints -mono_debugger_check_interruption -mono_debugger_check_runtime_version -mono_debugger_class_initialized -mono_debugger_event -mono_debugger_event_create_appdomain -mono_debugger_event_unload_appdomain -mono_debugger_extended_notification -mono_debugger_handle_exception -mono_debugger_insert_breakpoint -mono_debugger_insert_breakpoint_full -mono_debugger_insert_method_breakpoint -mono_debugger_lock -mono_debugger_method_has_breakpoint -MONO_DEBUGGER__notification_function -mono_debugger_register_class_init_callback -mono_debugger_remove_breakpoint -mono_debugger_remove_class_init_callback -mono_debugger_remove_method_breakpoint -mono_debugger_run_finally -mono_debugger_runtime_invoke -mono_debugger_thread_cleanup -mono_debugger_thread_created -_mono_debugger_throw_exception -mono_debugger_trampoline_compiled -_mono_debugger_unhandled_exception -mono_debugger_unlock -mono_debug_il_offset_from_address -mono_debug_list_add -mono_debug_list_remove -mono_debug_lookup_locals -mono_debug_lookup_method -mono_debug_lookup_method_addresses -mono_debug_lookup_source_location -mono_debug_open_image_from_memory -mono_debug_open_mono_symbols -mono_debug_print_stack_frame -mono_debug_print_vars -mono_debug_symfile_get_line_numbers -mono_debug_symfile_lookup_locals -mono_debug_symfile_lookup_location -mono_debug_symfile_lookup_method -mono_debug_using_mono_debugger -mono_declsec_flags_from_assembly -mono_declsec_flags_from_class -mono_declsec_flags_from_method -mono_declsec_get_assembly_action -mono_declsec_get_class_action -mono_declsec_get_demands -mono_declsec_get_inheritdemands_class -mono_declsec_get_inheritdemands_method -mono_declsec_get_linkdemands -mono_declsec_get_method_action -mono_digest_get_public_token -mono_disasm_code -mono_disasm_code_one -mono_dllmap_insert -mono_domain_assembly_open -mono_domain_create -mono_domain_create_appdomain -mono_domain_finalize -mono_domain_foreach -mono_domain_free -mono_domain_from_appdomain -mono_domain_get -mono_domain_get_by_id -mono_domain_get_id -mono_domain_has_type_resolve -mono_domain_is_unloading -mono_domain_owns_vtable_slot -mono_domain_set -mono_domain_set_internal -mono_domain_try_type_resolve -mono_domain_try_unload -mono_domain_unload -mono_emit_native_call -mono_environment_exitcode_get -mono_environment_exitcode_set -mono_error_cleanup -mono_error_get_error_code -mono_error_get_message -mono_error_init -mono_error_init_flags -mono_error_ok -mono_escape_uri_string -mono_event_get_add_method -mono_event_get_flags -mono_event_get_name -mono_event_get_object -mono_event_get_parent -mono_event_get_raise_method -mono_event_get_remove_method -mono_exception_from_name -mono_exception_from_name_domain -mono_exception_from_name_msg -mono_exception_from_name_two_strings -mono_exception_from_token -mono_exception_from_token_two_strings -mono_field_from_token -mono_field_full_name -mono_field_get_data -mono_field_get_flags -mono_field_get_name -mono_field_get_object -mono_field_get_offset -mono_field_get_parent -mono_field_get_type -mono_field_get_value -mono_field_get_value_object -mono_field_set_value -mono_field_static_get_value -mono_field_static_set_value -mono_file_map -mono_file_map_close -mono_file_map_fd -mono_file_map_open -mono_file_map_size -mono_file_unmap -mono_free -mono_free_bstr -mono_free_method -mono_free_verify_list -mono_gc_collect -mono_gc_collection_count -mono_gc_get_generation -mono_gc_get_heap_size -mono_gc_get_used_size -mono_gchandle_free -mono_gchandle_get_target -mono_gchandle_new -mono_gchandle_new_weakref -mono_gc_invoke_finalizers -mono_gc_max_generation -mono_gc_wbarrier_arrayref_copy -mono_gc_wbarrier_generic_nostore -mono_gc_wbarrier_generic_store -mono_gc_wbarrier_generic_store_atomic -mono_gc_wbarrier_object_copy -mono_gc_wbarrier_set_arrayref -mono_gc_wbarrier_set_field -mono_gc_wbarrier_value_copy -mono_get_array_class -mono_get_boolean_class -mono_get_byte_class -mono_get_char_class -mono_get_config_dir -mono_get_corlib -mono_get_dbnull_object -mono_get_delegate_invoke -mono_get_double_class -mono_get_enum_class -mono_get_exception_appdomain_unloaded -mono_get_exception_argument -mono_get_exception_argument_null -mono_get_exception_argument_out_of_range -mono_get_exception_arithmetic -mono_get_exception_array_type_mismatch -mono_get_exception_bad_image_format -mono_get_exception_bad_image_format2 -mono_get_exception_cannot_unload_appdomain -mono_get_exception_class -mono_get_exception_divide_by_zero -mono_get_exception_execution_engine -mono_get_exception_field_access -mono_get_exception_file_not_found -mono_get_exception_file_not_found2 -mono_get_exception_index_out_of_range -mono_get_exception_invalid_cast -mono_get_exception_invalid_operation -mono_get_exception_io -mono_get_exception_method_access -mono_get_exception_missing_field -mono_get_exception_missing_method -mono_get_exception_not_implemented -mono_get_exception_not_supported -mono_get_exception_null_reference -mono_get_exception_out_of_memory -mono_get_exception_overflow -mono_get_exception_reflection_type_load -mono_get_exception_security -mono_get_exception_serialization -mono_get_exception_stack_overflow -mono_get_exception_synchronization_lock -mono_get_exception_thread_abort -mono_get_exception_thread_interrupted -mono_get_exception_thread_state -mono_get_exception_type_initialization -mono_get_exception_type_load -mono_get_int16_class -mono_get_int32_class -mono_get_int64_class -mono_get_intptr_class -mono_get_machine_config -mono_get_method -mono_get_method_full -mono_get_object_class -mono_get_root_domain -mono_get_sbyte_class -mono_get_single_class -mono_get_string_class -mono_get_thread_class -mono_get_trampoline_func -mono_get_uint16_class -mono_get_uint32_class -mono_get_uint64_class -mono_get_uintptr_class -mono_get_void_class -mono_g_hash_table_destroy -mono_g_hash_table_find -mono_g_hash_table_foreach -mono_g_hash_table_foreach_remove -mono_g_hash_table_insert -mono_g_hash_table_lookup -mono_g_hash_table_lookup_extended -mono_g_hash_table_new -mono_g_hash_table_new_full -mono_g_hash_table_new_type -mono_g_hash_table_remove -mono_g_hash_table_replace -mono_g_hash_table_size -mono_guid_to_string -mono_hazard_pointer_get -mono_image_addref -mono_image_close -mono_image_ensure_section -mono_image_ensure_section_idx -mono_image_fixup_vtable -mono_image_get_assembly -mono_image_get_entry_point -mono_image_get_filename -mono_image_get_guid -mono_image_get_name -mono_image_get_public_key -mono_image_get_resource -mono_image_get_strong_name -mono_image_get_table_info -mono_image_get_table_rows -mono_image_has_authenticode_entry -mono_image_is_dynamic -mono_image_loaded -mono_image_loaded_by_guid -mono_image_loaded_by_guid_full -mono_image_loaded_full -mono_image_load_file_for_image -mono_image_lookup_resource -mono_image_open -mono_image_open_from_data -mono_image_open_from_data_full -mono_image_open_from_data_with_name -mono_image_open_full -mono_image_rva_map -mono_images_cleanup -mono_image_strerror -mono_image_strong_name_position -mono_init -mono_init_from_assembly -mono_init_version -mono_install_assembly_load_hook -mono_install_assembly_postload_refonly_search_hook -mono_install_assembly_postload_search_hook -mono_install_assembly_preload_hook -mono_install_assembly_refonly_preload_hook -mono_install_assembly_refonly_search_hook -mono_install_assembly_search_hook -mono_install_runtime_cleanup -mono_install_threadpool_item_hooks -mono_install_threadpool_thread_hooks -mono_inst_name -mono_is_debugger_attached -mono_jit_cleanup -mono_jit_exec -mono_jit_info_get_code_size -mono_jit_info_get_code_start -mono_jit_info_get_method -mono_jit_info_table_find -mono_jit_init -mono_jit_init_version -mono_jit_parse_options -mono_jit_set_aot_only -mono_jit_set_trace_options -mono_ldstr -mono_ldtoken -mono_llvm_build_aligned_load -mono_llvm_build_alloca -mono_llvm_build_load -mono_llvm_create_ee -mono_llvm_dispose_ee -mono_llvm_dump_value -mono_llvm_optimize_method -mono_llvm_replace_uses_of -mono_load_remote_field -mono_load_remote_field_new -mono_local_deadce -mono_locks_dump -mono_lookup_internal_call -mono_lookup_pinvoke_call -mono_main -mono_marshal_string_to_utf16 -mono_md5_final -mono_md5_get_digest -mono_md5_get_digest_from_file -mono_md5_init -mono_md5_update -mono_mempool_alloc -mono_mempool_alloc0 -mono_mempool_contains_addr -mono_mempool_destroy -mono_mempool_empty -mono_mempool_get_allocated -mono_mempool_invalidate -mono_mempool_new -mono_mempool_new_size -mono_mempool_stats -mono_mempool_strdup -mono_metadata_blob_heap -mono_metadata_cleanup -mono_metadata_compute_size -mono_metadata_custom_attrs_from_index -mono_metadata_declsec_from_index -mono_metadata_decode_blob_size -mono_metadata_decode_row -mono_metadata_decode_row_col -mono_metadata_decode_signed_value -mono_metadata_decode_table_row -mono_metadata_decode_table_row_col -mono_metadata_decode_value -mono_metadata_encode_value -mono_metadata_events_from_typedef -mono_metadata_field_info -mono_metadata_field_info_with_mempool -mono_metadata_free_array -mono_metadata_free_inflated_signature -mono_metadata_free_marshal_spec -mono_metadata_free_method_signature -mono_metadata_free_mh -mono_metadata_free_type -mono_metadata_generic_class_is_valuetype -mono_metadata_get_constant_index -mono_metadata_get_inflated_signature -mono_metadata_get_marshal_info -mono_metadata_guid_heap -mono_metadata_implmap_from_method -mono_metadata_interfaces_from_typedef -mono_metadata_load_generic_params -mono_metadata_locate -mono_metadata_locate_token -mono_metadata_methods_from_event -mono_metadata_methods_from_property -mono_metadata_nested_in_typedef -mono_metadata_nesting_typedef -mono_metadata_packing_from_typedef -mono_metadata_parse_array -mono_metadata_parse_custom_mod -mono_metadata_parse_field_type -mono_metadata_parse_marshal_spec -mono_metadata_parse_method_signature -mono_metadata_parse_method_signature_full -mono_metadata_parse_mh -mono_metadata_parse_mh_full -mono_metadata_parse_param -mono_metadata_parse_signature -mono_metadata_parse_type -mono_metadata_parse_typedef_or_ref -mono_metadata_parse_type_full -mono_metadata_properties_from_typedef -mono_metadata_signature_alloc -mono_metadata_signature_dup -mono_metadata_signature_equal -mono_metadata_string_heap -mono_metadata_token_from_dor -mono_metadata_translate_token_index -mono_metadata_typedef_from_field -mono_metadata_typedef_from_method -mono_metadata_type_equal -mono_metadata_type_hash -mono_metadata_user_string -mono_method_body_get_object -mono_method_can_access_field -mono_method_can_access_method -mono_method_desc_free -mono_method_desc_from_method -mono_method_desc_full_match -mono_method_desc_match -mono_method_desc_new -mono_method_desc_search_in_class -mono_method_desc_search_in_image -mono_method_full_name -mono_method_get_class -mono_method_get_flags -mono_method_get_generic_container -mono_method_get_header -mono_method_get_index -mono_method_get_last_managed -mono_method_get_marshal_info -mono_method_get_name -mono_method_get_object -mono_method_get_param_names -mono_method_get_param_token -mono_method_get_signature -mono_method_get_signature_full -mono_method_get_token -mono_method_get_unmanaged_thunk -mono_method_has_marshal_info -mono_method_header_get_clauses -mono_method_header_get_code -mono_method_header_get_locals -mono_method_header_get_num_clauses -mono_method_signature -mono_method_verify -mono_mlist_alloc -mono_mlist_append -mono_mlist_get_data -mono_mlist_last -mono_mlist_length -mono_mlist_next -mono_mlist_prepend -mono_mlist_remove_item -mono_mlist_set_data -mono_mlist_set_next -mono_module_file_get_object -mono_module_get_object -mono_monitor_enter -mono_monitor_exit -mono_monitor_try_enter -mono_mprotect -mono_object_castclass_mbyref -mono_object_clone -mono_object_describe -mono_object_describe_fields -mono_object_get_class -mono_object_get_domain -mono_object_get_size -mono_object_get_virtual_method -mono_object_isinst -mono_object_isinst_mbyref -mono_object_new -mono_object_new_alloc_specific -mono_object_new_fast -mono_object_new_from_token -mono_object_new_specific -mono_object_unbox -mono_opcode_name -mono_opcode_value -mono_op_to_op_imm_noemul -mono_pagesize -mono_param_get_objects -mono_parse_default_optimizations -mono_path_canonicalize -mono_path_resolve_symlinks -mono_pe_file_open -mono_perfcounters_init -mono_personality -mono_pmip -mono_print_method_from_ip -mono_print_thread_dump -mono_print_thread_dump_from_ctx -mono_print_unhandled_exception -mono_profiler_coverage_get -mono_profiler_get_events -mono_profiler_install -mono_profiler_install_allocation -mono_profiler_install_appdomain -mono_profiler_install_assembly -mono_profiler_install_class -mono_profiler_install_code_buffer_new -mono_profiler_install_code_chunk_destroy -mono_profiler_install_code_chunk_new -mono_profiler_install_coverage_filter -mono_profiler_install_enter_leave -mono_profiler_install_exception -mono_profiler_install_gc -mono_profiler_install_gc_moves -mono_profiler_install_iomap -mono_profiler_install_jit_compile -mono_profiler_install_jit_end -mono_profiler_install_method_free -mono_profiler_install_method_invoke -mono_profiler_install_module -mono_profiler_install_monitor -mono_profiler_install_runtime_initialized -mono_profiler_install_statistical -mono_profiler_install_statistical_call_chain -mono_profiler_install_thread -mono_profiler_install_transition -mono_profiler_load -mono_profiler_set_events -mono_property_get_flags -mono_property_get_get_method -mono_property_get_name -mono_property_get_object -mono_property_get_parent -mono_property_get_set_method -mono_property_get_value -mono_property_hash_destroy -mono_property_hash_insert -mono_property_hash_lookup -mono_property_hash_new -mono_property_hash_remove_object -mono_property_set_value -mono_ptr_class_get -mono_raise_exception -mono_reflection_free_type_info -mono_reflection_get_custom_attrs -mono_reflection_get_custom_attrs_blob -mono_reflection_get_custom_attrs_by_type -mono_reflection_get_custom_attrs_data -mono_reflection_get_custom_attrs_info -mono_reflection_get_token -mono_reflection_get_type -mono_reflection_parse_type -mono_reflection_type_from_name -mono_register_bundled_assemblies -mono_register_machine_config -mono_replace_ins -mono_runtime_class_init -mono_runtime_cleanup -mono_runtime_delegate_invoke -mono_runtime_exec_main -mono_runtime_exec_managed_code -mono_runtime_get_main_args -mono_runtime_init -mono_runtime_invoke -mono_runtime_invoke_array -mono_runtime_is_shutting_down -mono_runtime_object_init -mono_runtime_quit -mono_runtime_run_main -mono_security_core_clr_require_elevated_permissions -mono_security_enable_core_clr -mono_security_set_core_clr_platform_callback -mono_sem_post -mono_sem_timedwait -mono_sem_wait -mono_set_break_policy -mono_set_defaults -mono_set_dirs -mono_set_is_debugger_attached -mono_set_signal_chaining -mono_sha1_final -mono_sha1_get_digest -mono_sha1_get_digest_from_file -mono_sha1_init -mono_sha1_update -mono_signature_explicit_this -mono_signature_get_call_conv -mono_signature_get_desc -mono_signature_get_param_count -mono_signature_get_params -mono_signature_get_return_type -mono_signature_hash -mono_signature_is_instance -mono_signature_vararg_start -mono_signbit_double -mono_signbit_float -mono_stack_walk -mono_stack_walk_no_il -mono_store_remote_field -mono_store_remote_field_new -mono_string_chars -mono_string_equal -mono_string_from_bstr -mono_string_from_utf16 -mono_string_hash -mono_stringify_assembly_name -mono_string_intern -mono_string_is_interned -mono_string_length -mono_string_new -mono_string_new_len -mono_string_new_size -mono_string_new_utf16 -mono_string_new_wrapper -mono_string_to_utf16 -mono_string_to_utf8 -mono_table_info_get_rows -mono_thread_attach -mono_thread_cleanup -mono_thread_create -mono_thread_current -mono_thread_detach -mono_thread_exit -mono_thread_get_main -mono_thread_get_managed_id -mono_thread_get_name_utf8 -mono_thread_get_undeniable_exception -mono_thread_hazardous_free_or_queue -mono_thread_hazardous_try_free_all -mono_thread_manage -mono_thread_new_init -mono_thread_set_main -mono_thread_set_manage_callback -mono_threads_get_default_stacksize -mono_threads_install_cleanup -mono_threads_request_thread_dump -mono_threads_set_default_stacksize -mono_thread_stop -mono_trace_set_level_string -mono_trace_set_mask_string -mono_type_create_from_typespec -mono_type_full_name -mono_type_generic_inst_is_valuetype -mono_type_get_array_type -mono_type_get_class -mono_type_get_desc -mono_type_get_modifiers -mono_type_get_name -mono_type_get_object -mono_type_get_ptr_type -mono_type_get_signature -mono_type_get_type -mono_type_get_underlying_type -mono_type_is_byref -mono_type_is_pointer -mono_type_is_reference -mono_type_is_struct -mono_type_is_valid_enum_basetype -mono_type_is_void -mono_type_size -mono_type_stack_size -mono_type_to_unmanaged -mono_unhandled_exception -mono_unicode_from_external -mono_unicode_to_external -mono_upgrade_remote_class_wrapper -mono_utf8_from_external -mono_utf8_validate_and_len -mono_utf8_validate_and_len_with_bounds -mono_valloc -mono_value_box -mono_value_copy -mono_value_copy_array -mono_value_describe_fields -mono_verify_corlib -mono_vfree -mono_vtable_get_static_field_data -mono_walk_stack -mono_win32_compat_CopyMemory -mono_win32_compat_FillMemory -mono_win32_compat_MoveMemory -mono_win32_compat_ZeroMemory -_ZN20MonoJITMemoryManager11AllocateGOTEv -_ZN20MonoJITMemoryManager12allocateStubEPKN4llvm11GlobalValueEjj -_ZN20MonoJITMemoryManager13allocateSpaceEij -_ZN20MonoJITMemoryManager13SetDlsymTableEPv -_ZN20MonoJITMemoryManager14allocateGlobalEjj -_ZN20MonoJITMemoryManager15endFunctionBodyEPKN4llvm8FunctionEPhS4_ -_ZN20MonoJITMemoryManager17endExceptionTableEPKN4llvm8FunctionEPhS4_S4_ -_ZN20MonoJITMemoryManager17setMemoryWritableEv -_ZN20MonoJITMemoryManager17startFunctionBodyEPKN4llvm8FunctionERj -_ZN20MonoJITMemoryManager19setMemoryExecutableEv -_ZN20MonoJITMemoryManager19startExceptionTableEPKN4llvm8FunctionERj -_ZN20MonoJITMemoryManager24deallocateMemForFunctionEPKN4llvm8FunctionE -_ZN20MonoJITMemoryManagerC1Ev -_ZN20MonoJITMemoryManagerC2Ev -_ZN20MonoJITMemoryManagerD0Ev -_ZN20MonoJITMemoryManagerD1Ev -_ZN20MonoJITMemoryManagerD2Ev diff --git a/docs/sources/mono-api-assembly.html b/docs/sources/mono-api-assembly.html index b07f1bbeaf2..c38ea00f2b2 100644 --- a/docs/sources/mono-api-assembly.html +++ b/docs/sources/mono-api-assembly.html @@ -15,18 +15,38 @@ typedef struct _MonoAssembly MonoAssembly; <a name="cil_assembly_load"/> <h3>Assembly Loading</h3> -<h4><a name="api:mono_assembly_open">mono_assembly_open</a></h4> <h4><a name="api:mono_assembly_close">mono_assembly_close</a></h4> +<h4><a name="api:mono_assembly_get_object">mono_assembly_get_object</a></h4> <h4><a name="api:mono_assembly_load">mono_assembly_load</a></h4> <h4><a name="api:mono_assembly_load_full">mono_assembly_load_full</a></h4> <h4><a name="api:mono_assembly_loaded">mono_assembly_loaded</a></h4> -<h4><a name="api:mono_assembly_get_object">mono_assembly_get_object</a></h4> +<h4><a name="api:mono_assembly_load_from">mono_assembly_load_from</a> +<h4><a name="api:mono_assembly_load_from_full">mono_assembly_load_from_full</a> +<h4><a name="api:mono_assembly_load_with_partial_name">mono_assembly_load_with_partial_name</a> +<h4><a name="api:mono_assembly_open">mono_assembly_open</a></h4> +<h4><a name="api:mono_assembly_open_full">mono_assembly_open_full</a> +<h4><a name="api:mono_set_assemblies_path">mono_set_assemblies_path</a> +<h4><a name="api:mono_set_rootdir">mono_set_rootdir</a> <h3>Working with Assemblies</h3> +<h4><a name="api:mono_assembly_fill_assembly_name">mono_assembly_fill_assembly_name</a> +<h4><a name="api:mono_assembly_foreach">mono_assembly_foreach</a> <h4><a name="api:mono_assembly_get_image">mono_assembly_get_image</a></h4> <h4><a name="api:mono_assembly_get_main">mono_assembly_get_main</a></h4> +<h4><a name="api:mono_assembly_get_name">mono_assembly_get_name</a> <h4><a name="api:mono_assembly_getrootdir">mono_assembly_getrootdir</a></h4> +<h4><a name="api:mono_assembly_get_assemblyref">mono_assembly_get_assemblyref</a> +<h4><a name="api:mono_assembly_loaded_full">mono_assembly_loaded_full</a> +<h4><a name="api:mono_assembly_load_reference">mono_assembly_load_reference</a> +<h4><a name="api:mono_assembly_load_references">mono_assembly_load_references</a> +<h4><a name="api:mono_assembly_load_module">mono_assembly_load_module</a> +<h4><a name="api:mono_assembly_invoke_load_hook">mono_assembly_invoke_load_hook</a> +<h4><a name="api:mono_assembly_invoke_search_hook">mono_assembly_invoke_search_hook</a> +<h4><a name="api:mono_assembly_set_main">mono_assembly_set_main</a> +<h4><a name="api:mono_assembly_setrootdir">mono_assembly_setrootdir</a> +<h4><a name="api:mono_register_config_for_assembly">mono_register_config_for_assembly</a> +<h4><a name="api:mono_register_symfile_for_assembly">mono_register_symfile_for_assembly</a> <h3>Assembly Names</h3> @@ -38,6 +58,11 @@ typedef struct _MonoAssembly MonoAssembly; href="http://www.mono-project.com/monodoc/T:System.Reflection.AssemblyName">System.Reflection.AssemblyName</a> managed type. +<h4><a name="api:mono_assembly_name_new">mono_assembly_name_new</a> +<h4><a name="api:mono_assembly_name_get_name">mono_assembly_name_get_name</a> +<h4><a name="api:mono_assembly_name_get_culture">mono_assembly_name_get_culture</a> +<h4><a name="api:mono_assembly_name_get_version">mono_assembly_name_get_version</a> +<h4><a name="api:mono_assembly_name_get_pubkeytoken">mono_assembly_name_get_pubkeytoken</a> <h4><a name="api:mono_assembly_name_free">mono_assembly_name_free</a></h4> <h4><a name="api:mono_stringify_assembly_name">mono_stringify_assembly_name</a></h4> <h4><a name="api:mono_assembly_names_equal">mono_assembly_names_equal</a></h4> @@ -49,3 +74,13 @@ typedef struct _MonoAssembly MonoAssembly; <h4><a name="api:mono_module_file_get_object">mono_module_file_get_object</a></h4> <h4><a name="api:mono_module_get_object">mono_module_get_object</a></h4> + +<h3>Advanced</h3> + +<h4><a name="api:mono_install_assembly_load_hook">mono_install_assembly_load_hook</a> +<h4><a name="api:mono_install_assembly_search_hook">mono_install_assembly_search_hook</a> +<h4><a name="api:mono_install_assembly_refonly_search_hook">mono_install_assembly_refonly_search_hook</a> +<h4><a name="api:mono_install_assembly_preload_hook">mono_install_assembly_preload_hook</a> +<h4><a name="api:mono_install_assembly_refonly_preload_hook">mono_install_assembly_refonly_preload_hook</a> +<h4><a name="api:mono_install_assembly_postload_search_hook">mono_install_assembly_postload_search_hook</a> +<h4><a name="api:mono_install_assembly_postload_refonly_search_hook">mono_install_assembly_postload_refonly_search_hook</a> diff --git a/docs/sources/mono-api-class.html b/docs/sources/mono-api-class.html index bdc483eb41a..1d5c47179ae 100644 --- a/docs/sources/mono-api-class.html +++ b/docs/sources/mono-api-class.html @@ -1,52 +1,108 @@ <h2>Class Operations</h2> -<h4><a name="api:mono_class_array_element_size">mono_class_array_element_size</a></h4> -<h4><a name="api:mono_class_data_size">mono_class_data_size</a></h4> -<h4><a name="api:mono_class_enum_basetype">mono_class_enum_basetype</a></h4> -<h4><a name="api:mono_class_from_generic_parameter">mono_class_from_generic_parameter</a></h4> + <p>The operations on <code>MonoClass*</code> allow you to + query a number of properties of a .NET class from the C API. + + <p>This page contains information + for <a href="#class-getting">how to obtain a MonoClass</a>, + how to <a href="#class-work">probe for different + features of a UonoClass</a> and APIs + to <a href="#class-members">access class members</a> and + <a href="#class-fields">access fields</a>. To access + methods, see the <a href="mono-api-methods.html">method + documentation API</a>. + +<a name="class-getting"> +<h3>Getting a MonoClass</h3> + + <p>You typically would obtain a <code>MonoClass*</code> + pointer by using a combination of the <code>MonoImage*</code> + where the type is located, the namespace and name using the + <code><a href="api:mono_class_from_name">mono_class_from_name</a></code> + or + the <code><a href="api:mono_class_from_name_case">mono_class_from_name_case</a></code> + APIs or by using + the <code><a href="api:mono_class_from_typeref">mono_class_from_typeref</a></code> + or <code><a href="api:mono_class_from_typeref">mono_class_from_typeref_checked</a></code> + methods. + + <p>For low-level access, you can get the <code>MonoClass + *</code> from an image and an ECMA type token relative to + the <code>MonoImage*</code> by using <a href="api:mono_class_get">mono_class_get</a></h4>. + + +<h4><a name="api:mono_class_get">mono_class_get</a></h4> <h4><a name="api:mono_class_from_mono_type">mono_class_from_mono_type</a></h4> -<h4><a name="api:mono_class_from_name_case">mono_class_from_name_case</a></h4> <h4><a name="api:mono_class_from_name">mono_class_from_name</a></h4> +<h4><a name="api:mono_class_from_name_case">mono_class_from_name_case</a></h4> <h4><a name="api:mono_class_from_typeref">mono_class_from_typeref</a></h4> +<h4><a name="api:mono_class_from_typeref_checked">mono_class_from_typeref_checked</a></h4> +<h4><a name="api:mono_class_from_generic_parameter">mono_class_from_generic_parameter</a></h4> + +<h3>Working with a MonoClass</h3> + +<h4><a name="api:mono_class_array_element_size">mono_class_array_element_size</a></h4> +<h4><a name="api:mono_class_data_size">mono_class_data_size</a></h4> +<h4><a name="api:mono_class_enum_basetype">mono_class_enum_basetype</a></h4> <h4><a name="api:mono_class_get_byref_type">mono_class_get_byref_type</a></h4> <h4><a name="api:mono_class_get_element_class">mono_class_get_element_class</a></h4> -<h4><a name="api:mono_class_get_events">mono_class_get_events</a></h4> <h4><a name="api:mono_class_get_event_token">mono_class_get_event_token</a></h4> -<h4><a name="api:mono_class_get_field_from_name">mono_class_get_field_from_name</a></h4> <h4><a name="api:mono_class_get_field">mono_class_get_field</a></h4> -<h4><a name="api:mono_class_get_fields">mono_class_get_fields</a></h4> <h4><a name="api:mono_class_get_field_token">mono_class_get_field_token</a></h4> <h4><a name="api:mono_class_get_flags">mono_class_get_flags</a></h4> <h4><a name="api:mono_class_get_full">mono_class_get_full</a></h4> <h4><a name="api:mono_class_get_image">mono_class_get_image</a></h4> <h4><a name="api:mono_class_get_interfaces">mono_class_get_interfaces</a></h4> -<h4><a name="api:mono_class_get_method_from_name">mono_class_get_method_from_name</a></h4> -<h4><a name="api:mono_class_get_methods">mono_class_get_methods</a></h4> -<h4><a name="api:mono_class_get">mono_class_get</a></h4> <h4><a name="api:mono_class_get_name">mono_class_get_name</a></h4> <h4><a name="api:mono_class_get_namespace">mono_class_get_namespace</a></h4> -<h4><a name="api:mono_class_get_nested_types">mono_class_get_nested_types</a></h4> <h4><a name="api:mono_class_get_nesting_type">mono_class_get_nesting_type</a></h4> <h4><a name="api:mono_class_get_parent">mono_class_get_parent</a></h4> -<h4><a name="api:mono_class_get_properties">mono_class_get_properties</a></h4> -<h4><a name="api:mono_class_get_property_from_name">mono_class_get_property_from_name</a></h4> <h4><a name="api:mono_class_get_property_token">mono_class_get_property_token</a></h4> <h4><a name="api:mono_class_get_rank">mono_class_get_rank</a></h4> <h4><a name="api:mono_class_get_type">mono_class_get_type</a></h4> +<h4><a name="api:mono_class_get_type_token">mono_class_get_type_token</a></h4> +<h4><a name="api:mono_class_implements_interface">mono_class_implements_interface</a></h4> <h4><a name="api:mono_class_inflate_generic_method">mono_class_inflate_generic_method</a></h4> <h4><a name="api:mono_class_inflate_generic_type">mono_class_inflate_generic_type</a></h4> <h4><a name="api:mono_class_init">mono_class_init</a></h4> <h4><a name="api:mono_class_instance_size">mono_class_instance_size</a></h4> <h4><a name="api:mono_class_is_assignable_from">mono_class_is_assignable_from</a></h4> +<h4><a name="api:mono_class_is_delegate">mono_class_is_delegate</a></h4> <h4><a name="api:mono_class_is_enum">mono_class_is_enum</a></h4> <h4><a name="api:mono_class_is_subclass_of">mono_class_is_subclass_of</a></h4> <h4><a name="api:mono_class_is_valuetype">mono_class_is_valuetype</a></h4> <h4><a name="api:mono_class_min_align">mono_class_min_align</a></h4> +<h4><a name="api:mono_class_name_from_token">mono_class_name_from_token</a></h4> <h4><a name="api:mono_class_num_events">mono_class_num_events</a></h4> <h4><a name="api:mono_class_num_fields">mono_class_num_fields</a></h4> <h4><a name="api:mono_class_num_methods">mono_class_num_methods</a></h4> <h4><a name="api:mono_class_num_properties">mono_class_num_properties</a></h4> <h4><a name="api:mono_class_value_size">mono_class_value_size</a></h4> <h4><a name="api:mono_class_vtable">mono_class_vtable</a></h4> + +<a name="class-members"> +<h3>Getting Class Members</h3> + +<h4><a name="api:mono_class_get_fields">mono_class_get_fields</a></h4> +<h4><a name="api:mono_class_get_field_from_name">mono_class_get_field_from_name</a></h4> +<h4><a name="api:mono_class_get_methods">mono_class_get_methods</a></h4> +<h4><a name="api:mono_class_get_method_from_name">mono_class_get_method_from_name</a></h4> <h4><a name="api:mono_class_get_method_from_name_flags">mono_class_get_method_from_name_flags</a></h4> -<h4><a name="api:mono_class_name_from_token">mono_class_name_from_token</a></h4> +<h4><a name="api:mono_class_get_nested_types">mono_class_get_nested_types</a></h4> +<h4><a name="api:mono_class_get_properties">mono_class_get_properties</a></h4> +<h4><a name="api:mono_class_get_property_from_name">mono_class_get_property_from_name</a></h4> +<h4><a name="api:mono_class_get_events">mono_class_get_events</a></h4> + +<a name="class-fields"> +<h3>Fields</h3> + +<h4><a name="api:mono_field_get_data">mono_field_get_data</a></h4> +<h4><a name="api:mono_field_get_offset">mono_field_get_offset</a></h4> +<h4><a name="api:mono_field_full_name">mono_field_full_name</a></h4> + +<h3>Method Accessibility</h3> + +<h4><a name="api:mono_method_can_access_field">mono_method_can_access_field</a></h4> +<h4><a name="api:mono_method_can_access_method">mono_method_can_access_method</a></h4> + +<p> diff --git a/docs/sources/mono-api-codegen.html b/docs/sources/mono-api-codegen.html deleted file mode 100644 index 878f3b56c6b..00000000000 --- a/docs/sources/mono-api-codegen.html +++ /dev/null @@ -1,10 +0,0 @@ -<h3>Code manager</h3> - -<h4><a name="api:mono_code_manager_commit">mono_code_manager_commit</a></h4> -<h4><a name="api:mono_code_manager_destroy">mono_code_manager_destroy</a></h4> -<h4><a name="api:mono_code_manager_foreach">mono_code_manager_foreach</a></h4> -<h4><a name="api:mono_code_manager_invalidate">mono_code_manager_invalidate</a></h4> -<h4><a name="api:mono_code_manager_new_dynamic">mono_code_manager_new_dynamic</a></h4> -<h4><a name="api:mono_code_manager_new">mono_code_manager_new</a></h4> -<h4><a name="api:mono_code_manager_reserve">mono_code_manager_reserve</a></h4> - diff --git a/docs/sources/mono-api-debug.html b/docs/sources/mono-api-debug.html index e8534e5dc03..684ad85bb19 100644 --- a/docs/sources/mono-api-debug.html +++ b/docs/sources/mono-api-debug.html @@ -1,23 +1,38 @@ -<h4><a name="api:mono_debug_il_offset_from_address">mono_debug_il_offset_from_address</a></h4> -<h4><a name="api:mono_debug_add_method">mono_debug_add_method</a></h4> -<h4><a name="api:mono_debug_close_mono_symbol_file">mono_debug_close_mono_symbol_file</a></h4> -<h4><a name="api:mono_debug_find_method">mono_debug_find_method</a></h4> -<h4><a name="api:mono_debug_using_mono_debugger">mono_debug_using_mono_debugger</a></h4> <h3>Mono Debugger Interface</h3> <p>These are methods that are invoked by the debugger at runtime. -<h4><a name="api:mono_debugger_breakpoint_callback">mono_debugger_breakpoint_callback</a></h4> -<h4><a name="api:mono_debugger_check_runtime_version">mono_debugger_check_runtime_version</a></h4> -<h4><a name="api:mono_debugger_event">mono_debugger_event</a></h4> -<h4><a name="api:mono_debugger_handle_exception">mono_debugger_handle_exception</a></h4> -<h4><a name="api:mono_debugger_insert_breakpoint_full">mono_debugger_insert_breakpoint_full</a></h4> <h4><a name="api:mono_debugger_insert_breakpoint">mono_debugger_insert_breakpoint</a></h4> -<h4><a name="api:mono_debugger_lock">mono_debugger_lock</a></h4> <h4><a name="api:mono_debugger_method_has_breakpoint">mono_debugger_method_has_breakpoint</a></h4> -<h4><a name="api:mono_debugger_remove_breakpoint">mono_debugger_remove_breakpoint</a></h4> -<h4><a name="api:mono_debugger_runtime_invoke">mono_debugger_runtime_invoke</a></h4> -<h4><a name="api:mono_debugger_unlock">mono_debugger_unlock</a></h4> -<h4><a name="api:mono_debugger_run_finally">mono_debugger_run_finally</a></h4> + +<h3>Debugging Symbols</h3> +<h4><a name="api:mono_debug_open_mono_symbols">mono_debug_open_mono_symbols</a></h4> +<h4><a name="api:mono_debug_symfile_free_location">mono_debug_symfile_free_location</a></h4> +<h4><a name="api:mono_debug_symfile_is_loaded">mono_debug_symfile_is_loaded</a></h4> +<h4><a name="api:mono_debug_symfile_lookup_locals">mono_debug_symfile_lookup_locals</a></h4> +<h4><a name="api:mono_debug_symfile_lookup_location">mono_debug_symfile_lookup_location</a></h4> +<h4><a name="api:mono_debug_symfile_lookup_method">mono_debug_symfile_lookup_method</a></h4> + +<h3>Internal Debugging </h3> + +<h4><a name="api:mono_debug_add_delegate_trampoline">mono_debug_add_delegate_trampoline</a></h4> +<h4><a name="api:mono_debug_close_image">mono_debug_close_image</a></h4> +<h4><a name="api:mono_debug_domain_create">mono_debug_domain_create</a></h4> +<h4><a name="api:mono_debug_domain_unload">mono_debug_domain_unload</a></h4> +<h4><a name="api:mono_debug_enabled">mono_debug_enabled</a></h4> +<h4><a name="api:mono_debug_free_method_jit_info">mono_debug_free_method_jit_info</a></h4> +<h4><a name="api:mono_debug_free_source_location">mono_debug_free_source_location</a></h4> +<h4><a name="api:mono_debug_lookup_locals">mono_debug_lookup_locals</a></h4> +<h4><a name="api:mono_debug_lookup_method">mono_debug_lookup_method</a></h4> +<h4><a name="api:mono_debug_lookup_method_addresses">mono_debug_lookup_method_addresses</a></h4> +<h4><a name="api:mono_debug_lookup_source_location">mono_debug_lookup_source_location</a></h4> +<h4><a name="api:mono_debug_open_image_from_memory">mono_debug_open_image_from_memory</a></h4> +<h4><a name="api:mono_debug_print_stack_frame">mono_debug_print_stack_frame</a></h4> +<h4><a name="api:mono_debug_remove_method">mono_debug_remove_method</a></h4> +<h4><a name="api:mono_debug_il_offset_from_address">mono_debug_il_offset_from_address</a></h4> +<h4><a name="api:mono_debug_add_method">mono_debug_add_method</a></h4> +<h4><a name="api:mono_debug_close_mono_symbol_file">mono_debug_close_mono_symbol_file</a></h4> +<h4><a name="api:mono_debug_find_method">mono_debug_find_method</a></h4> + diff --git a/docs/sources/mono-api-decimal.html b/docs/sources/mono-api-decimal.html deleted file mode 100644 index 41c9347811f..00000000000 --- a/docs/sources/mono-api-decimal.html +++ /dev/null @@ -1,19 +0,0 @@ -<h1>Decimal Support</h1> - - <p>You can use the mono_decimal functions to access and - manipulate <tt>System.Decimal</tt> types from C. - -<h4><a name="api:mono_decimal2double">mono_decimal2double</a></h4> -<h4><a name="api:mono_decimal2Int64">mono_decimal2Int64</a></h4> -<h4><a name="api:mono_decimal2string">mono_decimal2string</a></h4> -<h4><a name="api:mono_decimal2UInt64">mono_decimal2UInt64</a></h4> -<h4><a name="api:mono_decimalCompare">mono_decimalCompare</a></h4> -<h4><a name="api:mono_decimalDiv">mono_decimalDiv</a></h4> -<h4><a name="api:mono_decimalFloorAndTrunc">mono_decimalFloorAndTrunc</a></h4> -<h4><a name="api:mono_decimalIncr">mono_decimalIncr</a></h4> -<h4><a name="api:mono_decimalIntDiv">mono_decimalIntDiv</a></h4> -<h4><a name="api:mono_decimalMult">mono_decimalMult</a></h4> -<h4><a name="api:mono_decimalRound">mono_decimalRound</a></h4> -<h4><a name="api:mono_decimalSetExponent">mono_decimalSetExponent</a></h4> -<h4><a name="api:mono_double2decimal">mono_double2decimal</a></h4> -<h4><a name="api:mono_string2decimal">mono_string2decimal</a></h4> diff --git a/docs/sources/mono-api-domains.html b/docs/sources/mono-api-domains.html index 9fa625ecd95..b6381c786a6 100644 --- a/docs/sources/mono-api-domains.html +++ b/docs/sources/mono-api-domains.html @@ -34,21 +34,30 @@ typedef struct _MonoAppContext MonoAppContext <h4><a name="api:mono_domain_assembly_open">mono_domain_assembly_open</a></h4> <h4><a name="api:mono_domain_create">mono_domain_create</a></h4> +<h4><a name="api:mono_domain_create_appdomain">mono_domain_create_appdomain</a> <h4><a name="api:mono_domain_finalize">mono_domain_finalize</a></h4> <h4><a name="api:mono_domain_foreach">mono_domain_foreach</a></h4> <h4><a name="api:mono_domain_free">mono_domain_free</a></h4> +<h4><a name="api:mono_domain_from_appdomain">mono_domain_from_appdomain</a> <h4><a name="api:mono_domain_get_by_id">mono_domain_get_by_id</a></h4> +<h4><a name="api:mono_domain_get_friendly_name">mono_domain_get_friendly_name</a> <h4><a name="api:mono_domain_get_id">mono_domain_get_id</a></h4> <h4><a name="api:mono_domain_get">mono_domain_get</a></h4> <h4><a name="api:mono_domain_has_type_resolve">mono_domain_has_type_resolve</a></h4> <h4><a name="api:mono_domain_is_unloading">mono_domain_is_unloading</a></h4> +<h4><a name="api:mono_domain_owns_vtable_slot">mono_domain_owns_vtable_slot</a></h4> +<h4><a name="api:mono_domain_set_config">mono_domain_set_config</a> <h4><a name="api:mono_domain_set_internal">mono_domain_set_internal</a></h4> <h4><a name="api:mono_domain_set">mono_domain_set</a></h4> <h4><a name="api:mono_domain_try_type_resolve">mono_domain_try_type_resolve</a></h4> -<h4><a name="api:mono_domain_owns_vtable_slot">mono_domain_owns_vtable_slot</a></h4> +<h4><a name="api:mono_domain_try_unload">mono_domain_try_unload</a> +<h4><a name="api:mono_domain_unload">mono_domain_unload</a> <h3>Contexts</h3> +<h4><a name="api:mono_context_init">mono_context_init</a> <h4><a name="api:mono_context_get">mono_context_get</a></h4> +<h4><a name="api:mono_context_get_domain_id">mono_context_get_domain_id</a> +<h4><a name="api:mono_context_get_id">mono_context_get_id</a> <h4><a name="api:mono_context_set">mono_context_set</a></h4> - +<h4><a name="api:mono_context_get_desc">mono_context_get_desc</a></h4> diff --git a/docs/sources/mono-api-dynamic-codegen.html b/docs/sources/mono-api-dynamic-codegen.html index 8a949fd1ab7..727c9744bbe 100644 --- a/docs/sources/mono-api-dynamic-codegen.html +++ b/docs/sources/mono-api-dynamic-codegen.html @@ -1,4 +1,4 @@ -<h2>Dynamic Code Generation</h2> +<h2>Internal: Dynamic Code Generation</h2> <p>The dynamic code generation interface inside the Mono runtime is similar to the API exposed by diff --git a/docs/sources/mono-api-embedding.html b/docs/sources/mono-api-embedding.html index 72c351eea71..1199c45697b 100644 --- a/docs/sources/mono-api-embedding.html +++ b/docs/sources/mono-api-embedding.html @@ -48,13 +48,14 @@ getMessage () </pre> <h4><a name="api:mono_jit_init">mono_jit_init</a></h4> +<h4><a name="api:mono_jit_parse_options">mono_jit_parse_options</a></h4> <h4><a name="api:mono_jit_exec">mono_jit_exec</a></h4> <h4><a name="api:mono_set_dirs">mono_set_dirs</a></h4> -<h4><a name="api:mono_main">mono_main</a></h4> <h4><a name="api:mono_parse_default_optimizations">mono_parse_default_optimizations</a></h4> - +<h4><a name="api:mono_runtime_set_main_args">mono_runtime_set_main_args</a></h4> <h4><a name="api:mono_jit_cleanup">mono_jit_cleanup</a></h4> -<h4><a name="api:mono_set_defaults">mono_set_defaults</a></h4> +<h4><a name="api:mono_jit_set_trace_options">mono_jit_set_trace_options</a></h4> + <h3>Internal Calls</h3> @@ -141,19 +142,16 @@ getMessage () <p>The following APIs expose this functionality: +<h4><a name="api:mono_config_cleanup">mono_config_cleanup</a></h4> +<h4><a name="api:mono_config_is_server_mode">mono_config_is_server_mode</a></h4> <h4><a name="api:mono_config_parse">mono_config_parse</a></h4> <h4><a name="api:mono_config_parse_memory">mono_config_parse_memory</a></h4> +<h4><a name="api:mono_config_set_server_mode">mono_config_set_server_mode</a></h4> +<h4><a name="api:mono_config_string_for_assembly_file">mono_config_string_for_assembly_file</a></h4> <h4><a name="api:mono_get_config_dir">mono_get_config_dir</a></h4> - -<h3>Function Pointers</h3> - - <p>To wrap a function pointer into something that the Mono - runtime can consume, you should use the mono_create_ftnptr. - This is only important if you plan on running on the IA64 - architecture. Otherwise you can just use the function - pointer address. - -<h4><a name="api:mono_create_ftnptr">mono_create_ftnptr</a></h4> +<h4><a name="api:mono_get_machine_config">mono_get_machine_config</a></h4> +<h4><a name="api:mono_register_machine_config">mono_register_machine_config</a> +<h4><a name="api:mono_set_config_dir">mono_set_config_dir</a></h4> <h3>Advanced Execution Setups</h3> @@ -163,6 +161,15 @@ getMessage () <h4><a name="api:mono_runtime_exec_managed_code">mono_runtime_exec_managed_code</a></h4> <h4><a name="api:mono_runtime_exec_main">mono_runtime_exec_main</a></h4> -<h4><a name="api:mono_init_from_assembly">mono_init_from_assembly</a></h4> <h4><a name="api:mono_init">mono_init</a></h4> +<h4><a name="api:mono_init_from_assembly">mono_init_from_assembly</a></h4> <h4><a name="api:mono_init_version">mono_init_version</a></h4> +<h4><a name="api:mono_jit_exec">mono_jit_exec</a></h4> +<h4><a name="api:mono_jit_set_aot_mode">mono_jit_set_aot_mode</a></h4> +<h4><a name="api:mono_set_break_policy">mono_set_break_policy</a></h4> +<h4><a name="api:mono_get_runtime_build_info">mono_get_runtime_build_info</a></h4> + +<h3>Signal Chaining</h3> + +<h4><a name="api:mono_set_signal_chaining">mono_set_signal_chaining</a></h4> +<h4><a name="api:mono_set_crash_chaining">mono_set_crash_chaining</a></h4> diff --git a/docs/sources/mono-api-exc.html b/docs/sources/mono-api-exc.html index b14be018af1..d0ab2032fd1 100644 --- a/docs/sources/mono-api-exc.html +++ b/docs/sources/mono-api-exc.html @@ -6,6 +6,15 @@ <h3>Raising and Catching exceptions</h3> + <p>With the introduction of the Cooperative mode/Bitcode for + the Mono garbage collector, it is no longer recommended for + embedded developers to raise exceptions from any method except + the topmost registered internal call. + + <p>It is recommended that you raise an error condition from + nested parts of code, surface this error and in the topmost + frame raise the exception. + <h4><a name="api:mono_raise_exception">mono_raise_exception</a></h4> <h4><a name="api:mono_unhandled_exception">mono_unhandled_exception</a></h4> <h4><a name="api:mono_print_unhandled_exception">mono_print_unhandled_exception</a></h4> @@ -56,3 +65,10 @@ <h4><a name="api:mono_get_exception_missing_field">mono_get_exception_missing_field</a></h4> <h4><a name="api:mono_get_exception_not_supported">mono_get_exception_not_supported</a></h4> <h4><a name="api:mono_get_exception_reflection_type_load">mono_get_exception_reflection_type_load</a></h4> +<h4><a name="api:mono_exception_from_token_two_strings">mono_exception_from_token_two_strings</a></h4> +<h4><a name="api:mono_get_exception_bad_image_format2">mono_get_exception_bad_image_format2</a></h4> +<h4><a name="api:mono_get_exception_field_access">mono_get_exception_field_access</a></h4> +<h4><a name="api:mono_get_exception_method_access">mono_get_exception_method_access</a></h4> +<h4><a name="api:mono_get_exception_out_of_memory">mono_get_exception_out_of_memory</a></h4> +<h4><a name="api:mono_get_exception_runtime_wrapped">mono_get_exception_runtime_wrapped</a></h4> +<h4><a name="api:mono_get_exception_thread_interrupted">mono_get_exception_thread_interrupted</a></h4> diff --git a/docs/sources/mono-api-gc.html b/docs/sources/mono-api-gc.html index 5d0518945c7..e70e821be8a 100644 --- a/docs/sources/mono-api-gc.html +++ b/docs/sources/mono-api-gc.html @@ -4,9 +4,118 @@ <p>The public interface of the Mono GC is fairly limited, and its the only one that embedders should be using: - + +<h3>Garbage Collector</h3> + <h4><a name="api:mono_gc_collect">mono_gc_collect</a></h4> +<h4><a name="api:mono_gc_collection_count">mono_gc_collection_count</a></h4> <h4><a name="api:mono_gc_max_generation">mono_gc_max_generation</a></h4> +<h4><a name="api:mono_gc_get_generation">mono_gc_get_generation</a></h4> <h4><a name="api:mono_gc_get_heap_size">mono_gc_get_heap_size</a></h4> <h4><a name="api:mono_gc_get_used_size">mono_gc_get_used_size</a></h4> +<h4><a name="api:mono_gc_walk_heap">mono_gc_walk_heap</a></h4> + +<h3>Reference Queues</h3> + +<h4><a name="api:mono_gc_reference_queue_add">mono_gc_reference_queue_add</a></h4> +<h4><a name="api:mono_gc_reference_queue_free">mono_gc_reference_queue_free</a></h4> +<h4><a name="api:mono_gc_reference_queue_new">mono_gc_reference_queue_new</a></h4> + +<h3>SGen Bridge</h3> + + <p>The bridge is a mechanism for SGen to let clients override + the death of some unreachable objects. We use it in monodroid + to do garbage collection across the Mono and Java heaps. + + <p>The client can designate some objects as "bridged", which + means that they participate in the bridge processing step once + SGen considers them unreachable, i.e., dead. Bridged objects + must be registered for finalization. + + <p>When SGen is done marking, it puts together a list of all + dead bridged objects and then does a strongly connected + component analysis over their object graph. That graph will + usually contain non-bridged objects, too. + + <p>The output of the SCC analysis is passed to the + `cross_references()` callback. It is expected to set the + `is_alive` flag on those strongly connected components that it + wishes to be kept alive. Only bridged objects will be + reported to the callback, i.e., non-bridged objects are + removed from the callback graph. + + <p>In monodroid each bridged object has a corresponding Java + mirror object. In the bridge callback it reifies the Mono + object graph in the Java heap so that the full, combined + object graph is now instantiated on the Java side. Then it + triggers a Java GC, waits for it to finish, and checks which + of the Java mirror objects are still alive. For those it sets + the `is_alive` flag and returns from the callback. + + <p>The SCC analysis is done while the world is stopped, but + the callback is made with the world running again. Weak links + to bridged objects and other objects reachable from them are + kept until the callback returns, at which point all links to + bridged objects that don't have `is_alive` set are nulled. + Note that weak links to non-bridged objects reachable from + bridged objects are not nulled. This might be considered a + bug. + +<div class="header"> +enum { + SGEN_BRIDGE_VERSION = 4 +}; + +typedef enum { + /* Instances of this class should be scanned when computing the transitive dependency among bridges. E.g. List of object*/ + GC_BRIDGE_TRANSPARENT_CLASS, + /* Instances of this class should not be scanned when computing the transitive dependency among bridges. E.g. String*/ + GC_BRIDGE_OPAQUE_CLASS, + /* Instances of this class should be bridged and have their dependency computed. */ + GC_BRIDGE_TRANSPARENT_BRIDGE_CLASS, + /* Instances of this class should be bridged but no dependencies should not be calculated. */ + GC_BRIDGE_OPAQUE_BRIDGE_CLASS, +} MonoGCBridgeObjectKind; + +typedef struct { + mono_bool is_alive; /* to be set by the cross reference callback */ + int num_objs; + MonoObject *objs [MONO_ZERO_LEN_ARRAY]; +} MonoGCBridgeSCC; + +typedef struct { + int src_scc_index; + int dst_scc_index; +} MonoGCBridgeXRef; + +typedef struct { + int bridge_version; + /* + * Tells the runtime which classes to even consider when looking for + * bridged objects. If subclasses are to be considered as well, the + * subclass check must be done in the callback. + */ + MonoGCBridgeObjectKind (*bridge_class_kind) (MonoClass *klass); + /* + * This is only called on objects for whose classes + * `bridge_class_kind()` returned `XXX_BRIDGE_CLASS`. + */ + mono_bool (*is_bridge_object) (MonoObject *object); + void (*cross_references) (int num_sccs, MonoGCBridgeSCC **sccs, int num_xrefs, MonoGCBridgeXRef *xrefs); +} MonoGCBridgeCallbacks; +</div> + +<h4><a name="api:mono_gc_register_bridge_callbacks">mono_gc_register_bridge_callbacks</a></h4> +<h4><a name="api:mono_gc_wait_for_bridge_processing">mono_gc_wait_for_bridge_processing</a></h4> + +<h3>Write Barriers</h3> + +<h4><a name="api:mono_gc_wbarrier_arrayref_copy">mono_gc_wbarrier_arrayref_copy</a></h4> +<h4><a name="api:mono_gc_wbarrier_generic_nostore">mono_gc_wbarrier_generic_nostore</a></h4> +<h4><a name="api:mono_gc_wbarrier_generic_store">mono_gc_wbarrier_generic_store</a></h4> +<h4><a name="api:mono_gc_wbarrier_generic_store_atomic">mono_gc_wbarrier_generic_store_atomic</a></h4> +<h4><a name="api:mono_gc_wbarrier_object_copy">mono_gc_wbarrier_object_copy</a></h4> +<h4><a name="api:mono_gc_wbarrier_set_arrayref">mono_gc_wbarrier_set_arrayref</a></h4> +<h4><a name="api:mono_gc_wbarrier_set_field">mono_gc_wbarrier_set_field</a></h4> +<h4><a name="api:mono_gc_wbarrier_value_copy">mono_gc_wbarrier_value_copy</a></h4> diff --git a/docs/sources/mono-api-image.html b/docs/sources/mono-api-image.html index 93e6e6d0149..f0640ce9dce 100644 --- a/docs/sources/mono-api-image.html +++ b/docs/sources/mono-api-image.html @@ -25,9 +25,9 @@ typedef enum { <p>Images are the actual elements in the runtime that contain the actual code being executed. -<a name="cil_image_open"/> <h3>Opening and closing MonoImages</h3> +<h4><a name="api:mono_load_image">mono_load_image</a></h4> <h4><a name="api:mono_image_open">mono_image_open</a></h4> <h4><a name="api:mono_image_open_full">mono_image_open_full</a></h4> <h4><a name="api:mono_image_open_from_data">mono_image_open_from_data</a></h4> @@ -35,6 +35,8 @@ typedef enum { <h4><a name="api:mono_image_close">mono_image_close</a></h4> <h4><a name="api:mono_image_addref">mono_image_addref</a></h4> <h4><a name="api:mono_image_load_file_for_image">mono_image_load_file_for_image</a></h4> +<h4><a name="api:mono_image_open_from_data_with_name">mono_image_open_from_data_with_name</a></h4> +<h4><a name="api:mono_image_load_module">mono_image_load_module</a></h4> <h3>Image Information</h3> @@ -51,6 +53,7 @@ typedef enum { <h4><a name="api:mono_image_loaded">mono_image_loaded</a></h4> <h4><a name="api:mono_image_lookup_resource">mono_image_lookup_resource</a></h4> <h4><a name="api:mono_image_strerror">mono_image_strerror</a></h4> +<h4><a name="api:mono_get_method_constrained">mono_get_method_constrained</a></h4> <h3>Public Keys, Strong Names and Certificates</h3> @@ -64,3 +67,11 @@ typedef enum { <h4><a name="api:mono_image_rva_map">mono_image_rva_map</a></h4> <h4><a name="api:mono_image_ensure_section_idx">mono_image_ensure_section_idx</a></h4> <h4><a name="api:mono_image_ensure_section">mono_image_ensure_section</a></h4> +<h4><a name="api:mono_image_init">mono_image_init</a></h4> +<h4><a name="api:mono_images_init">mono_images_init</a></h4> +<h4><a name="api:mono_images_cleanup">mono_images_cleanup</a></h4> +<h4><a name="api:mono_image_add_to_name_cache">mono_image_add_to_name_cache</a></h4> +<h4><a name="api:mono_image_fixup_vtable">mono_image_fixup_vtable</a></h4> +<h4><a name="api:mono_image_loaded_by_guid_full">mono_image_loaded_by_guid_full</a></h4> +<h4><a name="api:mono_image_loaded_full">mono_image_loaded_full</a></h4> +<h4><a name="api:mono_lookup_icall_symbol">mono_lookup_icall_symbol</a></h4> diff --git a/docs/sources/mono-api-internal.html b/docs/sources/mono-api-internal.html index 23c18624929..ab6e77b5543 100644 --- a/docs/sources/mono-api-internal.html +++ b/docs/sources/mono-api-internal.html @@ -4,6 +4,29 @@ inside Mono that developers extending or altering Mono might want to use. +<h2>Strings</h2> + +<h3>Other Encodings</h3> + + <p>These routines are used when coping with strings that come + from Mono's environment, and might be encoded in one or more + of the external encodings. + + <p>For example, some file systems might historically contain a + mix of file names with both old and new encodings, typically + UTF8 for new files, and the old files would be encoded in an 8 + bit character set (ISO-8859-1 for example). + + <p>These routines try a number of encodings, those specified + in the <tt>MONO_ENCODINGS</tt> environment variable and return + unicode strings that can be used internally. + + <p>See the mono(1) man page for more details. + +<h4><a name="api:mono_unicode_from_external">mono_unicode_from_external</a></h4> +<h4><a name="api:mono_unicode_to_external">mono_unicode_to_external</a></h4> +<h4><a name="api:mono_utf8_from_external">mono_utf8_from_external</a></h4> + <h2>Marshalling functions</h2> <h4><a name="api:mono_marshal_alloc">mono_marshal_alloc</a></h4> diff --git a/docs/sources/mono-api-jit.html b/docs/sources/mono-api-jit.html index 0618d0c5a62..d21b08fc6fd 100644 --- a/docs/sources/mono-api-jit.html +++ b/docs/sources/mono-api-jit.html @@ -4,6 +4,14 @@ @API_IDX@ </div> +<h3>JIT Information</h3> + + +<h4><a name="api:mono_jit_info_get_code_size">mono_jit_info_get_code_size</a> +<h4><a name="api:mono_jit_info_get_code_start">mono_jit_info_get_code_start</a> +<h4><a name="api:mono_jit_info_get_method">mono_jit_info_get_method</a> +<h4><a name="api:mono_jit_info_table_find">mono_jit_info_table_find</a> + <h3>Useful Debugging Functions</h3> <p>These functions are useful when running the Mono VM inside @@ -14,7 +22,12 @@ <h4><a name="api:mono_print_thread_dump">mono_print_thread_dump</a></h4> <h4><a name="api:mono_threads_request_thread_dump">mono_threads_request_thread_dump</a></h4> -<h3>Helper Tools For Native Ports</h3> - -<h4><a name="api:mono_inst_name">mono_inst_name</a></h4> +<h3>Advanced</h3></h4> +<h4><a name="api:mono_assemblies_init">mono_assemblies_init</a></h4> +<h4><a name="api:mono_assemblies_cleanup">mono_assemblies_cleanup</a></h4> +<h4><a name="api:mono_environment_exitcode_get">mono_environment_exitcode_get</a></h4> +<h4><a name="api:mono_environment_exitcode_set">mono_environment_exitcode_set</a></h4> +<h4><a name="api:mono_install_runtime_cleanup">mono_install_runtime_cleanup</a></h4> +<h4><a name="api:mono_runtime_set_shutting_down">mono_runtime_set_shutting_down</a></h4> +<h4><a name="api:mono_security_set_core_clr_platform_callback">mono_security_set_core_clr_platform_callback</a></h4> diff --git a/docs/sources/mono-api-jitinternal.html b/docs/sources/mono-api-jitinternal.html index 94ae54421cb..769af814dfe 100644 --- a/docs/sources/mono-api-jitinternal.html +++ b/docs/sources/mono-api-jitinternal.html @@ -1,4 +1,125 @@ -<h1>Notification Interface</h1> +<h2>Internal Runtime Utility Functions</h2> + +<h3>SHA1 Signatures</h3> + +<h4><a name="api:mono_sha1_init">mono_sha1_init</a></h4> +<h4><a name="api:mono_sha1_update">mono_sha1_update</a></h4> +<h4><a name="api:mono_sha1_get_digest_from_file">mono_sha1_get_digest_from_file</a></h4> +<h4><a name="api:mono_sha1_get_digest">mono_sha1_get_digest</a></h4> +<h4><a name="api:mono_sha1_final">mono_sha1_final</a></h4> + +<h3>MD5 Signatures</h3> + +<h4><a name="api:mono_md5_init">mono_md5_init</a></h4> +<h4><a name="api:mono_md5_update">mono_md5_update</a></h4> +<h4><a name="api:mono_md5_get_digest_from_file">mono_md5_get_digest_from_file</a></h4> +<h4><a name="api:mono_md5_get_digest">mono_md5_get_digest</a></h4> +<h4><a name="api:mono_md5_final">mono_md5_final</a></h4> + +<h4><a name="api:mono_digest_get_public_token">mono_digest_get_public_token</a></h4> + +<h3>Hashtables</h3> + + <p><tt>GHashTable</tt> is used when you need to store object + references into a hashtable, objects stored in a + <tt>MonoGHashTable</tt> are properly tracked by the garbage + collector. + + <p>The <tt>MonoGHashTable</tt> data type has the same API as + the GLIB. + +<h4><a name="api:mono_g_hash_table_destroy">mono_g_hash_table_destroy</a></h4> +<h4><a name="api:mono_g_hash_table_foreach">mono_g_hash_table_foreach</a></h4> +<h4><a name="api:mono_g_hash_table_foreach_remove">mono_g_hash_table_foreach_remove</a></h4> +<h4><a name="api:mono_g_hash_table_foreach_steal">mono_g_hash_table_foreach_steal</a></h4> +<h4><a name="api:mono_g_hash_table_insert">mono_g_hash_table_insert</a></h4> +<h4><a name="api:mono_g_hash_table_lookup">mono_g_hash_table_lookup</a></h4> +<h4><a name="api:mono_g_hash_table_lookup_extended">mono_g_hash_table_lookup_extended</a></h4> +<h4><a name="api:mono_g_hash_table_new">mono_g_hash_table_new</a></h4> +<h4><a name="api:mono_g_hash_table_new_full">mono_g_hash_table_new_full</a></h4> +<h4><a name="api:mono_g_hash_table_remap">mono_g_hash_table_remap</a></h4> +<h4><a name="api:mono_g_hash_table_remove">mono_g_hash_table_remove</a></h4> +<h4><a name="api:mono_g_hash_table_replace">mono_g_hash_table_replace</a></h4> +<h4><a name="api:mono_g_hash_table_size">mono_g_hash_table_size</a></h4> +<h4><a name="api:mono_g_hash_table_steal">mono_g_hash_table_steal</a></h4> + + +<h3>Memory Pools</h3> + + <p>Memory pools are a convenient way of tracking memory + allocations that are used for one specific task, they are also + faster than using the standard memory allocation procedures, + as they are designed to be used only by a single thread at a + time. + + <p><tt>MonoMemPool</tt> objects are not thread safe, which + means that you should not share the objects across multiple + threads without providing proper locking around it (unlike + <tt>malloc</tt> and <tt>free</tt> which are thread safe). + + <p>When a <tt>MonoMemPool</tt> is released with + <tt>mono_mempool_destroy</tt> all of the of the memory + allocated from that memory pool with + <tt>mono_mempool_alloc</tt> and <tt>mono_mempool_alloc0</tt> + is released. + +<h4><a name="api:mono_mempool_new">mono_mempool_new</a></h4> +<h4><a name="api:mono_mempool_destroy">mono_mempool_destroy</a></h4> +<h4><a name="api:mono_mempool_alloc">mono_mempool_alloc</a></h4> +<h4><a name="api:mono_mempool_alloc0">mono_mempool_alloc0</a></h4> +<h4><a name="api:mono_mempool_empty">mono_mempool_empty</a></h4> +<h4><a name="api:mono_mempool_invalidate">mono_mempool_invalidate</a></h4> +<h4><a name="api:mono_mempool_stats">mono_mempool_stats</a></h4> +<h4><a name="api:mono_mempool_contains_addr">mono_mempool_contains_addr</a></h4> + +<h3>Bitsets</h3> + + <p>MonoBitsets are a set of routines used to manipulate sets + of bits. + +<h4><a name="api:mono_bitset_alloc_size">mono_bitset_alloc_size</a></h4> +<h4><a name="api:mono_bitset_clear">mono_bitset_clear</a></h4> +<h4><a name="api:mono_bitset_clear_all">mono_bitset_clear_all</a></h4> +<h4><a name="api:mono_bitset_clone">mono_bitset_clone</a></h4> +<h4><a name="api:mono_bitset_copyto">mono_bitset_copyto</a></h4> +<h4><a name="api:mono_bitset_count">mono_bitset_count</a></h4> +<h4><a name="api:mono_bitset_equal">mono_bitset_equal</a></h4> +<h4><a name="api:mono_bitset_find_first">mono_bitset_find_first</a></h4> +<h4><a name="api:mono_bitset_find_last">mono_bitset_find_last</a></h4> +<h4><a name="api:mono_bitset_find_start">mono_bitset_find_start</a></h4> +<h4><a name="api:mono_bitset_foreach">mono_bitset_foreach</a></h4> +<h4><a name="api:mono_bitset_free">mono_bitset_free</a></h4> +<h4><a name="api:mono_bitset_intersection">mono_bitset_intersection</a></h4> +<h4><a name="api:mono_bitset_invert">mono_bitset_invert</a></h4> +<h4><a name="api:mono_bitset_mem_new">mono_bitset_mem_new</a></h4> +<h4><a name="api:mono_bitset_new">mono_bitset_new</a></h4> +<h4><a name="api:mono_bitset_set">mono_bitset_set</a></h4> +<h4><a name="api:mono_bitset_set_all">mono_bitset_set_all</a></h4> +<h4><a name="api:mono_bitset_size">mono_bitset_size</a></h4> +<h4><a name="api:mono_bitset_sub">mono_bitset_sub</a></h4> +<h4><a name="api:mono_bitset_test">mono_bitset_test</a></h4> +<h4><a name="api:mono_bitset_test_bulk">mono_bitset_test_bulk</a></h4> +<h4><a name="api:mono_bitset_union">mono_bitset_union</a></h4> +<h4><a name="api:mono_bitset_find_first_unset">mono_bitset_find_first_unset</a></h4> +<h4><a name="api:mono_bitset_intersection_2">mono_bitset_intersection_2</a></h4> + +<h3>JIT utilities</h3> + +<h4><a name="api:mono_signbit_double">mono_signbit_double</a></h4> +<h4><a name="api:mono_signbit_float">mono_signbit_float</a></h4> + +<h3>Function Pointers</h3> + + <p>To wrap a function pointer into something that the Mono + runtime can consume, you should use the mono_create_ftnptr. + This is only important if you plan on running on the IA64 + architecture. Otherwise you can just use the function + pointer address. + +<h4><a name="api:mono_create_ftnptr">mono_create_ftnptr</a></h4> + + +<h2>Notification Interface</h2> <p>This is an internal profiler interface. In general, users would not be using this interface, but would be using the diff --git a/docs/sources/mono-api-marshal.html b/docs/sources/mono-api-marshal.html deleted file mode 100644 index 8913b7534d9..00000000000 --- a/docs/sources/mono-api-marshal.html +++ /dev/null @@ -1,6 +0,0 @@ - - -<h4><a name="api:mono_delegate_free_ftnptr">mono_delegate_free_ftnptr</a></h4> -<h4><a name="api:mono_delegate_to_ftnptr">mono_delegate_to_ftnptr</a></h4> -<h4><a name="api:mono_ftnptr_to_delegate">mono_ftnptr_to_delegate</a></h4> -<h4><a name="api:mono_marshal_string_to_utf16">mono_marshal_string_to_utf16</a></h4> diff --git a/docs/sources/mono-api-metadata.html b/docs/sources/mono-api-metadata.html index 4037fd2d616..5ab0fefb979 100644 --- a/docs/sources/mono-api-metadata.html +++ b/docs/sources/mono-api-metadata.html @@ -617,7 +617,6 @@ MONO_TYPESPEC_SIZE <h4><a name="api:mono_image_get_table_info">mono_image_get_table_info</a></h4> <h4><a name="api:mono_image_get_table_rows">mono_image_get_table_rows</a></h4> -<h4><a name="api:mono_metadata_get_table">mono_metadata_get_table</a></h4> <h4><a name="api:mono_metadata_decode_row_col">mono_metadata_decode_row_col</a></h4> <h4><a name="api:mono_metadata_decode_row">mono_metadata_decode_row</a></h4> <h4><a name="api:mono_metadata_compute_size">mono_metadata_compute_size</a></h4> @@ -631,9 +630,10 @@ MONO_TYPESPEC_SIZE <p>This is the low-level API for accessing the metadata images. -<h4><a name="api:mono_cli_rva_image_map">mono_cli_rva_image_map</a></h4> <h4><a name="api:mono_pe_file_open">mono_pe_file_open</a></h4> <h4><a name="api:mono_metadata_events_from_typedef">mono_metadata_events_from_typedef</a></h4> +<h4><a name="api:mono_metadata_decode_table_row">mono_metadata_decode_table_row</a></h4> +<h4><a name="api:mono_metadata_decode_table_row_col">mono_metadata_decode_table_row_col</a></h4> <h4><a name="api:mono_metadata_field_info">mono_metadata_field_info</a></h4> <h4><a name="api:mono_metadata_free_array">mono_metadata_free_array</a></h4> <h4><a name="api:mono_metadata_free_marshal_spec">mono_metadata_free_marshal_spec</a></h4> @@ -652,6 +652,7 @@ MONO_TYPESPEC_SIZE <h4><a name="api:mono_metadata_packing_from_typedef">mono_metadata_packing_from_typedef</a></h4> <h4><a name="api:mono_metadata_properties_from_typedef">mono_metadata_properties_from_typedef</a></h4> <h4><a name="api:mono_metadata_token_from_dor">mono_metadata_token_from_dor</a></h4> +<h4><a name="api:mono_metadata_translate_token_index">mono_metadata_translate_token_index</a></h4> <h4><a name="api:mono_metadata_typedef_from_field">mono_metadata_typedef_from_field</a></h4> <h4><a name="api:mono_metadata_typedef_from_method">mono_metadata_typedef_from_method</a></h4> <h4><a name="api:mono_metadata_type_equal">mono_metadata_type_equal</a></h4> @@ -661,24 +662,23 @@ MONO_TYPESPEC_SIZE <h3>Retrieving Objects from Tokens</h3> +<h4><a name="api:mono_metadata_parse_array">mono_metadata_parse_array</a></h4> <h4><a name="api:mono_metadata_parse_custom_mod">mono_metadata_parse_custom_mod</a></h4> <h4><a name="api:mono_metadata_parse_field_type">mono_metadata_parse_field_type</a></h4> <h4><a name="api:mono_metadata_parse_marshal_spec">mono_metadata_parse_marshal_spec</a></h4> -<h4><a name="api:mono_metadata_parse_method_signature_full">mono_metadata_parse_method_signature_full</a></h4> <h4><a name="api:mono_metadata_parse_method_signature">mono_metadata_parse_method_signature</a></h4> -<h4><a name="api:mono_metadata_parse_mh_full">mono_metadata_parse_mh_full</a></h4> <h4><a name="api:mono_metadata_parse_mh">mono_metadata_parse_mh</a></h4> <h4><a name="api:mono_metadata_parse_param">mono_metadata_parse_param</a></h4> +<h4><a name="api:mono_metadata_parse_ret_type">mono_metadata_parse_ret_type</a></h4> <h4><a name="api:mono_metadata_parse_signature">mono_metadata_parse_signature</a></h4> <h4><a name="api:mono_metadata_parse_typedef_or_ref">mono_metadata_parse_typedef_or_ref</a></h4> -<h4><a name="api:mono_metadata_parse_type_full">mono_metadata_parse_type_full</a></h4> <h4><a name="api:mono_metadata_parse_type">mono_metadata_parse_type</a></h4> <h2>Generics Support</h2> +<h4><a name="api:mono_metadata_generic_class_equal">mono_metadata_generic_class_equal</a></h4> +<h4><a name="api:mono_metadata_generic_class_hash">mono_metadata_generic_class_hash</a></h4> <h4><a name="api:mono_metadata_generic_class_is_valuetype">mono_metadata_generic_class_is_valuetype</a></h4> -<h4><a name="api:mono_metadata_inflate_generic_inst">mono_metadata_inflate_generic_inst</a></h4> -<h4><a name="api:mono_metadata_load_generic_params">mono_metadata_load_generic_params</a></h4> <h2>Tokens</h2> diff --git a/docs/sources/mono-api-methods.html b/docs/sources/mono-api-methods.html index 6a104d5d6fd..ae12de2fbb5 100644 --- a/docs/sources/mono-api-methods.html +++ b/docs/sources/mono-api-methods.html @@ -1,41 +1,141 @@ -<h3>Methods</h3> +<h2>Methods</h2> -<h3>Invoking Methods</h3> + <p>Methods are represented by the <code>MonoMethod*</code> + instances. Various APIs surface these instances, but usually + you will use the <a href="#method-desc">method description</a> + API to get a handle to a Mono Method. You can <a href="method-invoking">invoke</a> those methods from C, + or you can probe <a href="method-working">probe various properties</a> of a method, and in particular + its <a href="method-signature">method signature</a> or get + some <a href="method-header">low-level information</a> about them. -<h4><a name="api:mono_runtime_invoke">mono_runtime_invoke</a></h4> + <p>The following code snippet from the Mono runtime shows you + how to create a managed <code>System.Version</code> instance + with four integers by looking up the constructor in the + managed implementation of System.Version, creating an instance + of the object, and then invoking the constructor on it. -If you want to invoke generic methods, you must call the method on the -"inflated" class, which you can obtain from the -<tt>mono_object_get_class()</tt> + <div class="header"> +MonoObject* +create_version (MonoDomain *domain, guint32 major, guint32 minor, guint32 build, guint32 revision) +{ + MonoClass *System_Version; + MonoMethod *create_version; + MonoError error; + MonoObject *result; + gpointer args [4]; -<div class="code"> -MonoClass *clazz; -MonoMethod *method; + System_Version = mono_class_from_name (mono_defaults.corlib, "System", "Version"); -clazz = mono_object_get_class (obj); + // Create a method description that we use to search for the + // constructor method + MonoMethodDesc *desc = mono_method_desc_new (":.ctor(int,int,int,int)", FALSE); + create_version = mono_method_desc_search_in_class (desc, System_Version); + mono_method_desc_free (desc); -/* - * If there are more Add methods declared, you - * may use mono_method_desc_search_in_class (clazz, ":Add(T)"), - * you must substitute ":Add(T)" with the correct type, for example - * for List<int>, you would use ":Add(int)". - */ -method = mono_class_get_method_from_name (clazz, "Add", 1); -mono_runtime_invoke (method, obj, args, &exception); -</div> + // Setup the parameters to pass. + args [0] = &major; + args [1] = &minor; + args [2] = &build; + args [3] = &revision; + // Create the object instance + result = mono_object_new_checked (domain, System_Version, &error); -<h4><a name="api:mono_runtime_invoke_array">mono_runtime_invoke_array</a></h4> -<h4><a name="api:mono_runtime_delegate_invoke">mono_runtime_delegate_invoke</a></h4> + // Raise an exception in case of an error + mono_error_raise_exception (&error); -<h4><a name="api:mono_method_body_get_object">mono_method_body_get_object</a></h4> + // Otherwise, invoke the constructor + mono_runtime_invoke (create_version, result, args, NULL); + + // Return ther esult + return result; +} + + </div> + +<a name="method-desc"></a> +<h3>Method Descriptions</h3> + + <p>Methods are represented by the <code>MonoMethod*</code> + instances. To simplify the process of getting + a <code>MonoMethod*</code>, you use Method Descriptors, which + are C-strings that describe the method that you are looking + for, and then you perform a search in either + a <a href="mono-api-type.html">type</a>, or a + loaded <a href="mono-api-image.html">image</a>. + + + <p>To describe a method, you use the Method Description API. + Method descriptions are used to locate a method in the + executing program. They can either be fully specified, that + is, they would include the namespace, class, method name and + all of its arguments or they omit the namespace and arguments + and even use wildcard matches for the class name and method names. + + <p>You use the fully specified version to identify a + particular method, or you can use the partial version to find + a method or a family of methods in the code. + + <p>Method descriptions are typically created from a C string + representation, and take the following form: + + <p><code>[namespace.]classname:methodname[(args...)]</code> + + <p>Both classname and methodname can contain the '*' character + which can be used to match anything. Arguments are separated + by commas. + + <p>You can use the type shortcuts to match the fully qualified + parameter types. The supported type shortcuts are: + <code>char</code>, + <code>bool</code>, + <code>byte</code>, + <code>sbyte</code>, + <code>uint16</code>, + <code>int16</code>, + <code>uint</code>, + <code>int</code>, + <code>ulong</code>, + <code>long</code>, + <code>uintptr</code>, + <code>intptr</code>, + <code>single</code>, + <code>double</code>, + <code>string</code> and + <code>object</code>. + + <p>The type parameters can use the "&" and "*" type modifiers. + + <p>Examples of method descriptions: + <ul> + <li>"Monitor:Exit": matches classes and methods called "Monitor.Exit" + <li>"Monitor:enter_with_atomic_var(object,bool&)": + matches a method in the class Monitor with two + specific type parameters. + <li>":.ctor(int,int,int,int)": matches constructors + that take four integers. + <li>"System.Globalization.CultureInfo:CreateCulture(string,bool)": + matches the CreateCultureMethod that takes a string + and a boolean on the System.Globalization.CultureInfo class. + </ul> + + <p>You can + then <a href="api:mono_method_desc_search_in_image">search for + methods in MonoImages</a> + or <a href="api:mono_method_desc_search_in_class">search for + methods in classes</a>. + +<h4><a name="api:mono_method_desc_new">mono_method_desc_new</a></h4> <h4><a name="api:mono_method_desc_free">mono_method_desc_free</a></h4> <h4><a name="api:mono_method_desc_from_method">mono_method_desc_from_method</a></h4> <h4><a name="api:mono_method_desc_full_match">mono_method_desc_full_match</a></h4> <h4><a name="api:mono_method_desc_match">mono_method_desc_match</a></h4> -<h4><a name="api:mono_method_desc_new">mono_method_desc_new</a></h4> <h4><a name="api:mono_method_desc_search_in_class">mono_method_desc_search_in_class</a></h4> <h4><a name="api:mono_method_desc_search_in_image">mono_method_desc_search_in_image</a></h4> + +<a name="method-working"></a> +<h3>Working with Methods</h3> + <h4><a name="api:mono_method_full_name">mono_method_full_name</a></h4> <h4><a name="api:mono_method_get_class">mono_method_get_class</a></h4> <h4><a name="api:mono_method_get_flags">mono_method_get_flags</a></h4> @@ -49,9 +149,42 @@ mono_runtime_invoke (method, obj, args, &exception); <h4><a name="api:mono_method_get_index">mono_method_get_index</a></h4> <h4><a name="api:mono_method_get_signature_full">mono_method_get_signature_full</a></h4> <h4><a name="api:mono_method_get_token">mono_method_get_token</a></h4> +<h4><a name="api:mono_method_get_unmanaged_thunk">mono_method_get_unmanaged_thunk</a></h4> <h4><a name="api:mono_method_has_marshal_info">mono_method_has_marshal_info</a></h4> <h4><a name="api:mono_method_verify">mono_method_verify</a></h4> +<a name="method-invoking"></a> +<h3>Invoking Methods</h3> + +<h4><a name="api:mono_runtime_invoke">mono_runtime_invoke</a></h4> + +If you want to invoke generic methods, you must call the method on the +"inflated" class, which you can obtain from the +<tt>mono_object_get_class()</tt> + +<div class="code"> +MonoClass *clazz; +MonoMethod *method; + +clazz = mono_object_get_class (obj); + +/* + * If there are more Add methods declared, you + * may use mono_method_desc_search_in_class (clazz, ":Add(T)"), + * you must substitute ":Add(T)" with the correct type, for example + * for List<int>, you would use ":Add(int)". + */ +method = mono_class_get_method_from_name (clazz, "Add", 1); +mono_runtime_invoke (method, obj, args, &exception); +</div> + + +<h4><a name="api:mono_runtime_invoke_array">mono_runtime_invoke_array</a></h4> +<h4><a name="api:mono_runtime_delegate_invoke">mono_runtime_delegate_invoke</a></h4> + +<h4><a name="api:mono_method_body_get_object">mono_method_body_get_object</a></h4> + +<a name="method-signature"></a> <h3>Method Signatures</h3> <h4><a name="api:mono_method_signature">mono_method_signature</a></h4> @@ -63,11 +196,13 @@ mono_runtime_invoke (method, obj, args, &exception); <h4><a name="api:mono_signature_get_return_type">mono_signature_get_return_type</a></h4> <h4><a name="api:mono_signature_hash">mono_signature_hash</a></h4> <h4><a name="api:mono_signature_is_instance">mono_signature_is_instance</a></h4> +<h4><a name="api:mono_signature_param_is_out">mono_signature_param_is_out</a></h4> <h4><a name="api:mono_signature_vararg_start">mono_signature_vararg_start</a></h4> <h4><a name="api:mono_param_get_objects">mono_param_get_objects</a></h4> <h4><a name="api:mono_get_method_full">mono_get_method_full</a></h4> <h4><a name="api:mono_get_method">mono_get_method</a></h4> +<a name="method-header"></a> <h3>Methods Header Operations</h3> <h4><a name="api:mono_method_get_header">mono_method_get_header</a></h4> diff --git a/docs/sources/mono-api-object.html b/docs/sources/mono-api-object.html index 111a307f1c6..da421e45743 100644 --- a/docs/sources/mono-api-object.html +++ b/docs/sources/mono-api-object.html @@ -6,8 +6,10 @@ <p>The object API has methods for accessing <a href="#fields">fields</a>, <a - href="#properties">properties</a>, <a + href="#properties">properties</a>, <a href="mono-api-methods.html">methods</a>, <a href="#events">events</a>, <a href="#delegates">delegates</a>. + + <p>There are some advanced uses that are useful to document here dealing with <a href="#remote">remote fields</a>. @@ -94,6 +96,8 @@ result = mono_object_new (mono_domain_get (), version_class); <h4><a name="api:mono_object_unbox">mono_object_unbox</a></h4> <h4><a name="api:mono_object_castclass_mbyref">mono_object_castclass_mbyref</a></h4> <h4><a name="api:mono_object_get_size">mono_object_get_size</a></h4> +<h4><a name="api:mono_object_hash">mono_object_hash</a></h4> +<h4><a name="api:mono_object_to_string">mono_object_to_string</a></h4> <a name="valuetypes"></a> <h2>Value Types</h2> @@ -190,3 +194,7 @@ result = mono_object_new (mono_domain_get (), version_class); <h4><a name="api:mono_store_remote_field">mono_store_remote_field</a></h4> <h4><a name="api:mono_store_remote_field_new">mono_store_remote_field_new</a></h4> +<a name="delegates"></a> +<h2>Delegates</h2> +<h4><a name="api:mono_get_delegate_begin_invoke">mono_get_delegate_begin_invoke</a></h4> +<h4><a name="api:mono_get_delegate_end_invoke">mono_get_delegate_end_invoke</a></h4> diff --git a/docs/sources/mono-api-reflection.html b/docs/sources/mono-api-reflection.html index c9f96a0daa4..46437debca3 100644 --- a/docs/sources/mono-api-reflection.html +++ b/docs/sources/mono-api-reflection.html @@ -1,11 +1,16 @@ <h2>Fetching Types, and Basic Reflection</h2> +<h4><a name="api:mono_custom_attrs_get_attr">mono_custom_attrs_get_attr</a></h4> +<h4><a name="api:mono_reflection_assembly_get_assembly">mono_reflection_assembly_get_assembly</a></h4> +<h4><a name="api:mono_reflection_free_type_info">mono_reflection_free_type_info</a></h4> <h4><a name="api:mono_reflection_get_custom_attrs_blob">mono_reflection_get_custom_attrs_blob</a></h4> +<h4><a name="api:mono_reflection_get_custom_attrs_by_type">mono_reflection_get_custom_attrs_by_type</a></h4> +<h4><a name="api:mono_reflection_get_custom_attrs_data">mono_reflection_get_custom_attrs_data</a></h4> <h4><a name="api:mono_reflection_get_custom_attrs">mono_reflection_get_custom_attrs</a></h4> -<h4><a name="api:mono_custom_attrs_get_attr">mono_custom_attrs_get_attr</a></h4> <h4><a name="api:mono_reflection_get_token">mono_reflection_get_token</a></h4> <h4><a name="api:mono_reflection_get_type">mono_reflection_get_type</a></h4> <h4><a name="api:mono_reflection_parse_type">mono_reflection_parse_type</a></h4> +<h4><a name="api:mono_reflection_type_get_type">mono_reflection_type_get_type</a></h4> <h4><a name="api:mono_reflection_type_from_name">mono_reflection_type_from_name</a></h4> <h4><a name="api:mono_reflection_get_custom_attrs_info">mono_reflection_get_custom_attrs_info</a></h4> diff --git a/docs/sources/mono-api-security.html b/docs/sources/mono-api-security.html index 21820b5c7c3..ec4a7f12d27 100644 --- a/docs/sources/mono-api-security.html +++ b/docs/sources/mono-api-security.html @@ -1,7 +1,5 @@ <h3>Security Manager</h3> -<h4><a name="api:mono_get_context_capture_method">mono_get_context_capture_method</a></h4> - <h3>Declarative Security</h3> <h4><a name="api:mono_declsec_flags_from_assembly">mono_declsec_flags_from_assembly</a></h4> diff --git a/docs/sources/mono-api-string.html b/docs/sources/mono-api-string.html index 2a8f361b8f5..f5956dd51b8 100644 --- a/docs/sources/mono-api-string.html +++ b/docs/sources/mono-api-string.html @@ -37,12 +37,16 @@ typedef struct { <h4><a name="api:mono_string_new_len">mono_string_new_len</a></h4> <h4><a name="api:mono_string_new_size">mono_string_new_size</a></h4> <h4><a name="api:mono_string_new_utf16">mono_string_new_utf16</a></h4> +<h4><a name="api:mono_string_new_utf32">mono_string_new_utf32</a></h4> <h4><a name="api:mono_string_from_utf16">mono_string_from_utf16</a></h4> +<h4><a name="api:mono_string_from_utf32">mono_string_from_utf32</a></h4> <h3>Conversions</h3> <h4><a name="api:mono_string_to_utf16">mono_string_to_utf16</a></h4> <h4><a name="api:mono_string_to_utf8">mono_string_to_utf8</a></h4> +<h4><a name="api:mono_string_to_utf8_checked">mono_string_to_utf8_checked</a></h4> +<h4><a name="api:mono_string_to_utf32">mono_string_to_utf32</a></h4> <h3>Methods</h3> @@ -55,23 +59,3 @@ typedef struct { <h4><a name="api:mono_string_length">mono_string_length</a></h4> -<h3>Other Encodings</h3> - - <p>These routines are used when coping with strings that come - from Mono's environment, and might be encoded in one or more - of the external encodings. - - <p>For example, some file systems might historically contain a - mix of file names with both old and new encodings, typically - UTF8 for new files, and the old files would be encoded in an 8 - bit character set (ISO-8859-1 for example). - - <p>These routines try a number of encodings, those specified - in the <tt>MONO_ENCODINGS</tt> environment variable and return - unicode strings that can be used internally. - - <p>See the mono(1) man page for more details. - -<h4><a name="api:mono_unicode_from_external">mono_unicode_from_external</a></h4> -<h4><a name="api:mono_unicode_to_external">mono_unicode_to_external</a></h4> -<h4><a name="api:mono_utf8_from_external">mono_utf8_from_external</a></h4> diff --git a/docs/sources/mono-api-threads.html b/docs/sources/mono-api-threads.html index 128b7765c12..f335677438a 100644 --- a/docs/sources/mono-api-threads.html +++ b/docs/sources/mono-api-threads.html @@ -6,19 +6,28 @@ <h4><a name="api:mono_thread_current">mono_thread_current</a></h4> <h4><a name="api:mono_thread_detach">mono_thread_detach</a></h4> <h4><a name="api:mono_thread_exit">mono_thread_exit</a></h4> +<h4><a name="api:mono_thread_get_managed_id">mono_thread_get_managed_id</a></h4> +<h4><a name="api:mono_thread_get_name_utf8">mono_thread_get_name_utf8</a></h4> +<h4><a name="api:mono_thread_is_foreign">mono_thread_is_foreign</a></h4> <h4><a name="api:mono_thread_manage">mono_thread_manage</a></h4> <h4><a name="api:mono_thread_new_init">mono_thread_new_init</a></h4> <h4><a name="api:mono_threads_get_default_stacksize">mono_threads_get_default_stacksize</a></h4> -<h4><a name="api:mono_threads_install_cleanup">mono_threads_install_cleanup</a></h4> <h4><a name="api:mono_threads_set_default_stacksize">mono_threads_set_default_stacksize</a></h4> +<h4><a name="api:mono_thread_set_manage_callback">mono_thread_set_manage_callback</a></h4> <h4><a name="api:mono_thread_stop">mono_thread_stop</a></h4> <h4><a name="api:mono_thread_get_main">mono_thread_get_main</a></h4> <h4><a name="api:mono_thread_set_main">mono_thread_set_main</a></h4> -<h4><a name="api:mono_pthread_key_for_tls">mono_pthread_key_for_tls</a></h4> <h3>Monitors</h3> <h4><a name="api:mono_monitor_enter">mono_monitor_enter</a></h4> +<h4><a name="api:mono_monitor_enter_v4">mono_monitor_enter_v4</a></h4> <h4><a name="api:mono_monitor_exit">mono_monitor_exit</a></h4> <h4><a name="api:mono_monitor_try_enter">mono_monitor_try_enter</a></h4> + +<h3>Initialization and Shutdown</h3> + +<h4><a name="api:mono_thread_cleanup">mono_thread_cleanup</a></h4> +<h4><a name="api:mono_thread_detach_if_exiting">mono_thread_detach_if_exiting</a></h4> +<h4><a name="api:mono_thread_init">mono_thread_init</a></h4> diff --git a/docs/sources/mono-api-type.html b/docs/sources/mono-api-type.html index a2d4c175bc7..a5a98c99c75 100644 --- a/docs/sources/mono-api-type.html +++ b/docs/sources/mono-api-type.html @@ -19,13 +19,17 @@ typedef struct _MonoType MonoType; <h4><a name="api:mono_type_full_name">mono_type_full_name</a></h4> <h4><a name="api:mono_type_get_array_type">mono_type_get_array_type</a></h4> <h4><a name="api:mono_type_get_class">mono_type_get_class</a></h4> -<h4><a name="api:mono_type_get_desc">mono_type_get_desc</a></h4> <h4><a name="api:mono_type_get_modifiers">mono_type_get_modifiers</a></h4> <h4><a name="api:mono_type_get_name">mono_type_get_name</a></h4> +<h4><a name="api:mono_type_get_ptr_type">mono_type_get_ptr_type</a></h4> <h4><a name="api:mono_type_get_signature">mono_type_get_signature</a></h4> <h4><a name="api:mono_type_get_type">mono_type_get_type</a></h4> <h4><a name="api:mono_type_get_underlying_type">mono_type_get_underlying_type</a></h4> <h4><a name="api:mono_type_is_byref">mono_type_is_byref</a></h4> +<h4><a name="api:mono_type_is_pointer">mono_type_is_pointer</a></h4> +<h4><a name="api:mono_type_is_reference">mono_type_is_reference</a></h4> +<h4><a name="api:mono_type_is_struct">mono_type_is_struct</a></h4> +<h4><a name="api:mono_type_is_void">mono_type_is_void</a></h4> <h4><a name="api:mono_type_size">mono_type_size</a></h4> <h4><a name="api:mono_type_stack_size">mono_type_stack_size</a></h4> <h4><a name="api:mono_type_to_unmanaged">mono_type_to_unmanaged</a></h4> diff --git a/docs/sources/mono-api-unsorted.html b/docs/sources/mono-api-unsorted.html index 3860736d095..269850b49c8 100644 --- a/docs/sources/mono-api-unsorted.html +++ b/docs/sources/mono-api-unsorted.html @@ -5,8 +5,6 @@ <h4><a name="api:mono_compile_method">mono_compile_method</a></h4> <h4><a name="api:mono_config_for_assembly">mono_config_for_assembly</a></h4> <h4><a name="api:mono_dllmap_insert">mono_dllmap_insert</a></h4> -<h4><a name="api:mono_environment_exitcode_get">mono_environment_exitcode_get</a></h4> -<h4><a name="api:mono_environment_exitcode_set">mono_environment_exitcode_set</a></h4> <h4><a name="api:mono_free_method">mono_free_method</a></h4> <h4><a name="api:mono_free_verify_list">mono_free_verify_list</a></h4> <h4><a name="api:mono_get_config_dir">mono_get_config_dir</a></h4> @@ -15,13 +13,8 @@ <h4><a name="api:mono_get_method_full">mono_get_method_full</a></h4> <h4><a name="api:mono_get_method">mono_get_method</a></h4> <h4><a name="api:mono_get_root_domain">mono_get_root_domain</a></h4> -<h4><a name="api:mono_init_from_assembly">mono_init_from_assembly</a></h4> -<h4><a name="api:mono_init">mono_init</a></h4> -<h4><a name="api:mono_init_version">mono_init_version</a></h4> -<h4><a name="api:mono_jit_exec">mono_jit_exec</a></h4> <h4><a name="api:mono_lookup_internal_call">mono_lookup_internal_call</a></h4> <h4><a name="api:mono_lookup_pinvoke_call">mono_lookup_pinvoke_call</a></h4> -<h4><a name="api:mono_main">mono_main</a></h4> <h4><a name="api:mono_parse_default_optimizations">mono_parse_default_optimizations</a></h4> <h4><a name="api:mono_ptr_class_get">mono_ptr_class_get</a></h4> <h4><a name="api:mono_register_bundled_assemblies">mono_register_bundled_assemblies</a></h4> @@ -34,6 +27,4 @@ <h4><a name="api:mono_runtime_quit">mono_runtime_quit</a></h4> <h4><a name="api:mono_runtime_run_main">mono_runtime_run_main</a></h4> <h4><a name="api:mono_table_info_get_rows">mono_table_info_get_rows</a></h4> -<h4><a name="api:mono_upgrade_remote_class_wrapper">mono_upgrade_remote_class_wrapper</a></h4> <h4><a name="api:mono_verify_corlib">mono_verify_corlib</a></h4> -<h4><a name="api:mono_vtable_get_static_field_data">mono_vtable_get_static_field_data</a></h4> diff --git a/docs/sources/mono-api-utils.html b/docs/sources/mono-api-utils.html index 3cdb1a7f4d0..813fb8d7f0d 100644 --- a/docs/sources/mono-api-utils.html +++ b/docs/sources/mono-api-utils.html @@ -1,111 +1,5 @@ <h2>Utility Methods</h2> -<h3>Bitsets</h3> - - <p>MonoBitsets are a set of routines used to manipulate sets - of bits. - -<h4><a name="api:mono_bitset_alloc_size">mono_bitset_alloc_size</a></h4> -<h4><a name="api:mono_bitset_clear">mono_bitset_clear</a></h4> -<h4><a name="api:mono_bitset_clear_all">mono_bitset_clear_all</a></h4> -<h4><a name="api:mono_bitset_clone">mono_bitset_clone</a></h4> -<h4><a name="api:mono_bitset_copyto">mono_bitset_copyto</a></h4> -<h4><a name="api:mono_bitset_count">mono_bitset_count</a></h4> -<h4><a name="api:mono_bitset_equal">mono_bitset_equal</a></h4> -<h4><a name="api:mono_bitset_find_first">mono_bitset_find_first</a></h4> -<h4><a name="api:mono_bitset_find_last">mono_bitset_find_last</a></h4> -<h4><a name="api:mono_bitset_find_start">mono_bitset_find_start</a></h4> -<h4><a name="api:mono_bitset_foreach">mono_bitset_foreach</a></h4> -<h4><a name="api:mono_bitset_free">mono_bitset_free</a></h4> -<h4><a name="api:mono_bitset_intersection">mono_bitset_intersection</a></h4> -<h4><a name="api:mono_bitset_invert">mono_bitset_invert</a></h4> -<h4><a name="api:mono_bitset_mem_new">mono_bitset_mem_new</a></h4> -<h4><a name="api:mono_bitset_new">mono_bitset_new</a></h4> -<h4><a name="api:mono_bitset_set">mono_bitset_set</a></h4> -<h4><a name="api:mono_bitset_set_all">mono_bitset_set_all</a></h4> -<h4><a name="api:mono_bitset_size">mono_bitset_size</a></h4> -<h4><a name="api:mono_bitset_sub">mono_bitset_sub</a></h4> -<h4><a name="api:mono_bitset_test">mono_bitset_test</a></h4> -<h4><a name="api:mono_bitset_test_bulk">mono_bitset_test_bulk</a></h4> -<h4><a name="api:mono_bitset_union">mono_bitset_union</a></h4> -<h4><a name="api:mono_bitset_find_first_unset">mono_bitset_find_first_unset</a></h4> -<h4><a name="api:mono_bitset_intersection_2">mono_bitset_intersection_2</a></h4> - -<h3>Hashtables</h3> - - <p><tt>GHashTable</tt> is used when you need to store object - references into a hashtable, objects stored in a - <tt>MonoGHashTable</tt> are properly tracked by the garbage - collector. - - <p>The <tt>MonoGHashTable</tt> data type has the same API as - the GLIB. - -<h4><a name="api:mono_g_hash_table_destroy">mono_g_hash_table_destroy</a></h4> -<h4><a name="api:mono_g_hash_table_foreach">mono_g_hash_table_foreach</a></h4> -<h4><a name="api:mono_g_hash_table_foreach_remove">mono_g_hash_table_foreach_remove</a></h4> -<h4><a name="api:mono_g_hash_table_foreach_steal">mono_g_hash_table_foreach_steal</a></h4> -<h4><a name="api:mono_g_hash_table_insert">mono_g_hash_table_insert</a></h4> -<h4><a name="api:mono_g_hash_table_lookup">mono_g_hash_table_lookup</a></h4> -<h4><a name="api:mono_g_hash_table_lookup_extended">mono_g_hash_table_lookup_extended</a></h4> -<h4><a name="api:mono_g_hash_table_new">mono_g_hash_table_new</a></h4> -<h4><a name="api:mono_g_hash_table_new_full">mono_g_hash_table_new_full</a></h4> -<h4><a name="api:mono_g_hash_table_remap">mono_g_hash_table_remap</a></h4> -<h4><a name="api:mono_g_hash_table_remove">mono_g_hash_table_remove</a></h4> -<h4><a name="api:mono_g_hash_table_replace">mono_g_hash_table_replace</a></h4> -<h4><a name="api:mono_g_hash_table_size">mono_g_hash_table_size</a></h4> -<h4><a name="api:mono_g_hash_table_steal">mono_g_hash_table_steal</a></h4> - -<h3>SHA1 Signatures</h3> - -<h4><a name="api:mono_sha1_init">mono_sha1_init</a></h4> -<h4><a name="api:mono_sha1_update">mono_sha1_update</a></h4> -<h4><a name="api:mono_sha1_get_digest_from_file">mono_sha1_get_digest_from_file</a></h4> -<h4><a name="api:mono_sha1_get_digest">mono_sha1_get_digest</a></h4> -<h4><a name="api:mono_sha1_final">mono_sha1_final</a></h4> - -<h3>MD5 Signatures</h3> - -<h4><a name="api:mono_md5_init">mono_md5_init</a></h4> -<h4><a name="api:mono_md5_update">mono_md5_update</a></h4> -<h4><a name="api:mono_md5_get_digest_from_file">mono_md5_get_digest_from_file</a></h4> -<h4><a name="api:mono_md5_get_digest">mono_md5_get_digest</a></h4> -<h4><a name="api:mono_md5_final">mono_md5_final</a></h4> - -<h4><a name="api:mono_digest_get_public_token">mono_digest_get_public_token</a></h4> - -<h3>Memory Pools</h3> - - <p>Memory pools are a convenient way of tracking memory - allocations that are used for one specific task, they are also - faster than using the standard memory allocation procedures, - as they are designed to be used only by a single thread at a - time. - - <p><tt>MonoMemPool</tt> objects are not thread safe, which - means that you should not share the objects across multiple - threads without providing proper locking around it (unlike - <tt>malloc</tt> and <tt>free</tt> which are thread safe). - - <p>When a <tt>MonoMemPool</tt> is released with - <tt>mono_mempool_destroy</tt> all of the of the memory - allocated from that memory pool with - <tt>mono_mempool_alloc</tt> and <tt>mono_mempool_alloc0</tt> - is released. - -<h4><a name="api:mono_mempool_new">mono_mempool_new</a></h4> -<h4><a name="api:mono_mempool_destroy">mono_mempool_destroy</a></h4> -<h4><a name="api:mono_mempool_alloc">mono_mempool_alloc</a></h4> -<h4><a name="api:mono_mempool_alloc0">mono_mempool_alloc0</a></h4> -<h4><a name="api:mono_mempool_empty">mono_mempool_empty</a></h4> -<h4><a name="api:mono_mempool_invalidate">mono_mempool_invalidate</a></h4> -<h4><a name="api:mono_mempool_stats">mono_mempool_stats</a></h4> -<h4><a name="api:mono_mempool_contains_addr">mono_mempool_contains_addr</a></h4> - -<h3>JIT utilities</h3> - -<h4><a name="api:mono_signbit_double">mono_signbit_double</a></h4> -<h4><a name="api:mono_signbit_float">mono_signbit_float</a></h4> <h3>Disassembling Generated Code</h3> @@ -116,11 +10,10 @@ <h3>Walking the Stack</h3> -<h4><a name="api:mono_walk_stack">mono_walk_stack</a></h4> <h4><a name="api:mono_stack_walk_no_il">mono_stack_walk_no_il</a></h4> +<h4><a name="api:mono_stack_walk_async_safe">mono_stack_walk_async_safe</a></h4> <h3>Others</h3> -<h4><a name="api:mono_escape_uri_string">mono_escape_uri_string</a></h4> <h4><a name="api:mono_guid_to_string">mono_guid_to_string</a></h4> diff --git a/docs/toc.xml b/docs/toc.xml index 51619634b72..656dd26ba08 100644 --- a/docs/toc.xml +++ b/docs/toc.xml @@ -50,18 +50,6 @@ </li> <li> <object type="text/sitemap"> - <param name="Name" value="Code Generation"/> - <param name="Local" value="deploy/mono-api-codegen.html"/> - </object> - </li> - <li> - <object type="text/sitemap"> - <param name="Name" value="Decimal Representation"/> - <param name="Local" value="deploy/mono-api-decimal.html"/> - </object> - </li> - <li> - <object type="text/sitemap"> <param name="Name" value="Application Domains"/> <param name="Local" value="deploy/mono-api-domains.html"/> </object> @@ -104,12 +92,6 @@ </li> <li> <object type="text/sitemap"> - <param name="Name" value="Marshalling"/> - <param name="Local" value="deploy/mono-api-marshal.html"/> - </object> - </li> - <li> - <object type="text/sitemap"> <param name="Name" value="Metadata access"/> <param name="Local" value="deploy/mono-api-metadata.html"/> </object> |