summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenta Murata <mrkn@mrkn.jp>2020-12-25 01:47:09 +0900
committerKenta Murata <mrkn@mrkn.jp>2020-12-25 20:11:01 +0900
commit7a4b8d8700ebbe8cefcce05311338448ee0fb5b5 (patch)
treeade70b119d832e340d565897ae9259255ff39998 /include
parentddacff2b4140006d69ecf6d1ac63ddb791e92e5e (diff)
[memory_view] Fix a comment
A consumer of a MemoryView no longer guards the original object. [ci skip]
Diffstat (limited to 'include')
-rw-r--r--include/ruby/memory_view.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/ruby/memory_view.h b/include/ruby/memory_view.h
index 4996cdbbb3..4492c06b38 100644
--- a/include/ruby/memory_view.h
+++ b/include/ruby/memory_view.h
@@ -37,9 +37,7 @@ typedef struct {
} rb_memory_view_item_component_t;
typedef struct {
- /* The original object that has the memory exported via this memory view.
- * The consumer of this memory view has the responsibility to call rb_gc_mark
- * for preventing this obj collected by GC. */
+ /* The original object that has the memory exported via this memory view. */
VALUE obj;
/* The pointer to the exported memory. */