From: watson1978@... Date: 2019-11-04T09:16:39+00:00 Subject: [ruby-core:95663] [Ruby master Feature#16290] Add Ruby C API to acquire aligned memory Issue #16290 has been reported by watson1978 (Shizuo Fujita). ---------------------------------------- Feature #16290: Add Ruby C API to acquire aligned memory https://bugs.ruby-lang.org/issues/16290 * Author: watson1978 (Shizuo Fujita) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Related to https://github.com/ruby/ruby/pull/2614 I have required to acquire aligned memory in Ruby C-extension library (https://github.com/rmagick/rmagick/pull/832). I want an API that notifies acquired size to Ruby GC. Of course, I know that we can implement a similar function in extension library using rb_gc_adjust_memory_usage(). However, if Ruby have the API, we can easily use it in some extension libraries. -- https://bugs.ruby-lang.org/ Unsubscribe: