ruby-changes:63970
From: Kenta <ko1@a...>
Date: Sun, 6 Dec 2020 23:25:39 +0900 (JST)
Subject: [ruby-changes:63970] 1a76bb56b0 (master): memory_view.c: Fix the argument type of rb_memory_view_extract_item_members
https://git.ruby-lang.org/ruby.git/commit/?id=1a76bb56b0 From 1a76bb56b0ba99a19d1373c4c8ebac42e7b6f27c Mon Sep 17 00:00:00 2001 From: Kenta Murata <mrkn@m...> Date: Sun, 6 Dec 2020 23:24:45 +0900 Subject: memory_view.c: Fix the argument type of rb_memory_view_extract_item_members diff --git a/include/ruby/memory_view.h b/include/ruby/memory_view.h index 7c8ed72..6d6aeff 100644 --- a/include/ruby/memory_view.h +++ b/include/ruby/memory_view.h @@ -131,7 +131,7 @@ ssize_t rb_memory_view_parse_item_format(const char *format, https://github.com/ruby/ruby/blob/trunk/include/ruby/memory_view.h#L131 size_t *n_members, const char **err); ssize_t rb_memory_view_item_size_from_format(const char *format, const char **err); void *rb_memory_view_get_item_pointer(rb_memory_view_t *view, const ssize_t *indices); -VALUE rb_memory_view_extract_item_members(const void *ptr, const rb_memory_view_item_component_t *members, size_t n_members); +VALUE rb_memory_view_extract_item_members(const void *ptr, const rb_memory_view_item_component_t *members, const size_t n_members); int rb_memory_view_available_p(VALUE obj); int rb_memory_view_get(VALUE obj, rb_memory_view_t* memory_view, int flags); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/