summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWanja Vogel <w-git@online.ms>2020-07-08 21:45:43 +0200
committerWanja Vogel <w-git@online.ms>2020-07-08 21:49:34 +0200
commita60824190092741ad7c82504d0c9655340d74bcc (patch)
tree11237c583399fb63a8a62dcee680849e627c3f71 /doc
parent07c6e60a5a3bd7de09e4a170cd97bafba59cfafd (diff)
Update documentation-header to current source code after 03d9946
fix #266
Diffstat (limited to 'doc')
-rw-r--r--doc/mimalloc-doc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/mimalloc-doc.h b/doc/mimalloc-doc.h
index 67f4fe9..2e74fb0 100644
--- a/doc/mimalloc-doc.h
+++ b/doc/mimalloc-doc.h
@@ -752,8 +752,8 @@ bool mi_heap_visit_blocks(const mi_heap_t* heap, bool visit_all_blocks, mi_block
/// Runtime options.
typedef enum mi_option_e {
// stable options
- mi_option_show_stats, ///< Print statistics to `stderr` when the program is done.
mi_option_show_errors, ///< Print error messages to `stderr`.
+ mi_option_show_stats, ///< Print statistics to `stderr` when the program is done.
mi_option_verbose, ///< Print verbose messages to `stderr`.
// the following options are experimental
mi_option_eager_commit, ///< Eagerly commit segments (4MiB) (enabled by default).
@@ -772,9 +772,11 @@ typedef enum mi_option_e {
} mi_option_t;
-bool mi_option_enabled(mi_option_t option);
-void mi_option_enable(mi_option_t option, bool enable);
-void mi_option_enable_default(mi_option_t option, bool enable);
+bool mi_option_is_enabled(mi_option_t option);
+void mi_option_enable(mi_option_t option);
+void mi_option_disable(mi_option_t option);
+void mi_option_set_enabled(mi_option_t option, bool enable);
+void mi_option_set_enabled_default(mi_option_t option, bool enable);
long mi_option_get(mi_option_t option);
void mi_option_set(mi_option_t option, long value);