1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[memory_view] Fix a comment

A consumer of a MemoryView no longer guards the original object.
[ci skip]
This commit is contained in:
Kenta Murata 2020-12-25 01:47:09 +09:00
parent ddacff2b41
commit 7a4b8d8700
No known key found for this signature in database
GPG key ID: CEFE8AFB6081B062

View file

@ -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. */