From 7a4b8d8700ebbe8cefcce05311338448ee0fb5b5 Mon Sep 17 00:00:00 2001 From: Kenta Murata Date: Fri, 25 Dec 2020 01:47:09 +0900 Subject: [PATCH] [memory_view] Fix a comment A consumer of a MemoryView no longer guards the original object. [ci skip] --- include/ruby/memory_view.h | 4 +--- 1 file changed, 1 insertion(+), 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. */