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:
parent
ddacff2b41
commit
7a4b8d8700
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,7 @@ typedef struct {
|
||||||
} rb_memory_view_item_component_t;
|
} rb_memory_view_item_component_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* The original object that has the memory exported via this memory view.
|
/* 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. */
|
|
||||||
VALUE obj;
|
VALUE obj;
|
||||||
|
|
||||||
/* The pointer to the exported memory. */
|
/* The pointer to the exported memory. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue