diff options
Diffstat (limited to 'include/ruby/memory_view.h')
-rw-r--r-- | include/ruby/memory_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/memory_view.h b/include/ruby/memory_view.h index 4492c06b38..a67c1c0045 100644 --- a/include/ruby/memory_view.h +++ b/include/ruby/memory_view.h @@ -100,7 +100,7 @@ typedef struct { const ssize_t *sub_offsets; /* the private data for managing this exported memory */ - void *const private; + void *private_data; } rb_memory_view_t; typedef bool (* rb_memory_view_get_func_t)(VALUE obj, rb_memory_view_t *view, int flags); |