diff options
author | Kenta Murata <[email protected]> | 2021-09-06 16:01:52 +0900 |
---|---|---|
committer | <[email protected]> | 2021-09-06 16:01:52 +0900 |
commit | f8bb2d9b2724b4a74322ac82d27c32a61153e8dd () | |
tree | e6d8c441f0fd07e119a0a151bb81d218222df8ae /memory_view.c | |
parent | a5e323f5edb85fa1bd94bb1e67b8ef8f6827056d (diff) |
memory_view.c: Rename private to private_data for C++ (#4812)
* memory_view.c: Rename private to private_data for C++ * doc/memory_view.md: Update document * Fix doc/memory_view.md Co-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]>
Notes: Merged-By: mrkn <[email protected]>
-rw-r--r-- | memory_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ rb_memory_view_init_as_byte_array(rb_memory_view_t *view, VALUE obj, void *data, view->shape = NULL; view->strides = NULL; view->sub_offsets = NULL; - *((void **)&view->private) = NULL; return true; } |