summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/random.h b/include/ruby/random.h
index 657b37f034..e3176dbe6b 100644
--- a/include/ruby/random.h
+++ b/include/ruby/random.h
@@ -189,7 +189,7 @@ typedef const rb_data_type_t rb_random_data_type_t;
* 0, RB_RANDOM_INTERFACE_DEFINE(your),
* };
*
- * static inline constexpr your_prng = {
+ * static inline constexpr rb_random_data_type_t your_prng_type = {
* "your PRNG",
* { rb_random_mark, },
* RB_RANDOM_PARENT, // <<-- HERE