<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/include/ruby/internal/memory.h, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 61bab1889048f758396acf671c9797d6bc52504b: [Backport #21757]</title>
<updated>2026-01-25T07:41:13+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2026-01-25T07:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=28db1b5c3d3a9a5c60762622cb0c3c36c021e8e4'/>
<id>28db1b5c3d3a9a5c60762622cb0c3c36c021e8e4</id>
<content type='text'>
	[PATCH] Rename to `struct rbimpl_size_overflow_tag`

	This struct is used for addition not only for multiplication, so
	remove the word `mul`, and make the member names more descriptive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[PATCH] Rename to `struct rbimpl_size_overflow_tag`

	This struct is used for addition not only for multiplication, so
	remove the word `mul`, and make the member names more descriptive.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 99ff0224a564b59df3ba8fbd7911dd41a7fdde34: [Backport #21757]</title>
<updated>2026-01-25T07:40:50+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2026-01-25T07:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c409e343fb14438c2e5304f10ad4c6919e30ac2e'/>
<id>c409e343fb14438c2e5304f10ad4c6919e30ac2e</id>
<content type='text'>
	[PATCH] Move rbimpl_size_add_overflow from gc.c to memory.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[PATCH] Move rbimpl_size_add_overflow from gc.c to memory.h
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: Fix `rbimpl_size_mul_overflow` on arm64</title>
<updated>2024-12-17T11:25:06+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-11-13T05:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5a7a1a4a13ae11e4cef274c98e0c5bbcb7b1d192'/>
<id>5a7a1a4a13ae11e4cef274c98e0c5bbcb7b1d192</id>
<content type='text'>
`_umul128` is specific to x86_64 platform, see higher words by
`__umulh` on arm64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`_umul128` is specific to x86_64 platform, see higher words by
`__umulh` on arm64.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow compilation of C extensions with `-Wconversion`</title>
<updated>2024-05-28T05:33:07+00:00</updated>
<author>
<name>Mike Dalessio</name>
<email>mike.dalessio@gmail.com</email>
</author>
<published>2024-05-24T17:10:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b8ba1551b26fac906998e34fd2af3f82b433469'/>
<id>1b8ba1551b26fac906998e34fd2af3f82b433469</id>
<content type='text'>
C extension maintainers can now compile with this warning option and
the Ruby header files will generate no warnings.

[Feature #20507]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C extension maintainers can now compile with this warning option and
the Ruby header files will generate no warnings.

[Feature #20507]
</pre>
</div>
</content>
</entry>
<entry>
<title>use of stdckdint.h</title>
<updated>2024-04-27T12:55:28+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2024-04-25T07:25:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb5a53820703f5e1af886a0c5ca7178aa976be29'/>
<id>bb5a53820703f5e1af886a0c5ca7178aa976be29</id>
<content type='text'>
C23 is going to have this header.  The industry is already moving
towards accepting it; OSes and compilers started to implement theirs.

Why not detect its presence and if any, prefer over other ways.

See also:

- https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2683.pdf
- https://reviews.freebsd.org/D41734
- https://reviews.llvm.org/D157331
- https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=8441841a1b985d68245954af1ff023db121b0635
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C23 is going to have this header.  The industry is already moving
towards accepting it; OSes and compilers started to implement theirs.

Why not detect its presence and if any, prefer over other ways.

See also:

- https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2683.pdf
- https://reviews.freebsd.org/D41734
- https://reviews.llvm.org/D157331
- https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=8441841a1b985d68245954af1ff023db121b0635
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: Fix pre-defined macros for platforms</title>
<updated>2024-02-11T10:43:06+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-11T10:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c77f736bc1e6b73d62e9ba3dcf3dcbeff0657b38'/>
<id>c77f736bc1e6b73d62e9ba3dcf3dcbeff0657b38</id>
<content type='text'>
Use `_WIN64` for word-size, `_M_AMD64` for CPU-specific feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `_WIN64` for word-size, `_M_AMD64` for CPU-specific feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>Typo fixes for public headers [ci skip]</title>
<updated>2023-12-22T01:34:49+00:00</updated>
<author>
<name>Alan Wu</name>
<email>alanwu@ruby-lang.org</email>
</author>
<published>2023-12-22T01:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0c05551f5812f29c24a30cfbcaa60beab22569d0'/>
<id>0c05551f5812f29c24a30cfbcaa60beab22569d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Improve documentation to RB_ALLOCV</title>
<updated>2022-12-06T05:55:05+00:00</updated>
<author>
<name>Lars Kanis</name>
<email>lars@greiz-reinsdorf.de</email>
</author>
<published>2022-11-01T14:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=81e274c9907c9ddb8fbf8ad0c28cd2b39d6e1639'/>
<id>81e274c9907c9ddb8fbf8ad0c28cd2b39d6e1639</id>
<content type='text'>
Although the storage of the opaque Ruby object is an array of VALUEs, the intention of RB_ALLOCV is to allocate bytes of memory.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the storage of the opaque Ruby object is an array of VALUEs, the intention of RB_ALLOCV is to allocate bytes of memory.</pre>
</div>
</content>
</entry>
<entry>
<title>do not define our own version of memcpy</title>
<updated>2022-07-07T13:10:53+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2022-07-06T00:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7f64989e5c913ef7624e084badd1a43ce65b3ccc'/>
<id>7f64989e5c913ef7624e084badd1a43ce65b3ccc</id>
<content type='text'>
The (sole) use of memcpy in our public header is now replaced to
directly call ruby_nonempty_memcpy, and the previous definition of
memcpy is now internal-only.  [Bug#18893]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The (sole) use of memcpy in our public header is now replaced to
directly call ruby_nonempty_memcpy, and the previous definition of
memcpy is now internal-only.  [Bug#18893]
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert zero-check for alloca</title>
<updated>2021-12-10T09:39:48+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-10T09:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a5baf8d6bc4c21259705f9b4f9aa2d9b9d7ab936'/>
<id>a5baf8d6bc4c21259705f9b4f9aa2d9b9d7ab936</id>
<content type='text'>
Something weird results in int-in-bool-context and
stringop-overflow warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Something weird results in int-in-bool-context and
stringop-overflow warnings.
</pre>
</div>
</content>
</entry>
</feed>
