зеркало из https://github.com/github/ruby.git
[memory_view] Fix a comment
A consumer of a MemoryView no longer guards the original object. [ci skip]
This commit is contained in:
Родитель
ddacff2b41
Коммит
7a4b8d8700
|
@ -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. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче