diff options
author | Kenta Murata <mrkn@mrkn.jp> | 2020-12-25 01:47:09 +0900 |
---|---|---|
committer | Kenta Murata <mrkn@mrkn.jp> | 2020-12-25 20:11:01 +0900 |
commit | 7a4b8d8700ebbe8cefcce05311338448ee0fb5b5 (patch) | |
tree | ade70b119d832e340d565897ae9259255ff39998 /include | |
parent | ddacff2b4140006d69ecf6d1ac63ddb791e92e5e (diff) | |
download | ruby-7a4b8d8700ebbe8cefcce05311338448ee0fb5b5.tar.gz |
[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.h | 4 |
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. */ |