summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaisuke Aritomo <di.aritomo@gmail.com>2023-10-04 14:12:50 +0900
committerGitHub <noreply@github.com>2023-10-04 14:12:50 +0900
commit6d28f96986c46771f545ce0cdceac5b1fbf33338 (patch)
tree83b6f0334cb15377fa6ade45b3270d5e63407e87 /include
parented8a3428e449711f014afa5cb22f4ff2780b0cfe (diff)
[DOC] Fix description for `rb_postponed_job_register_one()`
The current documentation for `rb_postponed_job_register_one()` is explaining the differences with itself, where it should be explaining the differences with `rb_postponed_job_register()`.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/debug.h b/include/ruby/debug.h
index f95acdb17e..1f20e984bb 100644
--- a/include/ruby/debug.h
+++ b/include/ruby/debug.h
@@ -628,9 +628,9 @@ typedef void (*rb_postponed_job_func_t)(void *arg);
int rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void *data);
/**
- * Identical to rb_postponed_job_register_one(), except it additionally checks
- * for duplicated registration. In case the passed job is already in the
- * postponed job buffer this function does nothing.
+ * Identical to rb_postponed_job_register(), except it additionally checks for
+ * duplicated registration. In case the passed job is already in the postponed
+ * job buffer this function does nothing.
*
* @param[in] flags (Unused) reserved for future extensions.
* @param[in] func Job body.