<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/include/ruby/assert.h, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Show more in `RBIMPL_ASSERT_TYPE`</title>
<updated>2024-06-21T00:25:00+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-06-19T05:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=249a1fb0eb26a79370c7a0b3833b2e25f92866a9'/>
<id>249a1fb0eb26a79370c7a0b3833b2e25f92866a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Delegate from `RBIMPL_ASSERT_OR_ASSUME` to `RUBY_ASSERT_ALWAYS`</title>
<updated>2024-06-21T00:24:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-06-19T03:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b834c62efdb730e1b0ac7134cfa933bc10c59a80'/>
<id>b834c62efdb730e1b0ac7134cfa933bc10c59a80</id>
<content type='text'>
Get rid of expansion of the argument which often contains complicated
macros, and simplify the failure message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get rid of expansion of the argument which often contains complicated
macros, and simplify the failure message.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add builtin type assertion</title>
<updated>2024-04-08T02:13:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-04-06T08:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4dd9e5cf7447ec70a55206fd5e1b9e8c79dbba7e'/>
<id>4dd9e5cf7447ec70a55206fd5e1b9e8c79dbba7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract `RBIMPL_VA_OPT_ARGS`</title>
<updated>2024-02-08T09:08:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-08T02:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=34581410f20e2d2252b9da19a803bf5cc1ae23e1'/>
<id>34581410f20e2d2252b9da19a803bf5cc1ae23e1</id>
<content type='text'>
Similar to splat argument in Ruby, which be expanded to `__VA_ARGS__`
with a leading comma if any arguments given, otherwise empty.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to splat argument in Ruby, which be expanded to `__VA_ARGS__`
with a leading comma if any arguments given, otherwise empty.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optional detail info at assertion failure</title>
<updated>2024-02-08T09:08:41+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-01-31T06:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d31a12a210bec646eadc23c11ede29f05e72e373'/>
<id>d31a12a210bec646eadc23c11ede29f05e72e373</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>typos</title>
<updated>2022-08-27T21:42:55+00:00</updated>
<author>
<name>spaette</name>
<email>lindblad@gmx.us</email>
</author>
<published>2022-08-27T21:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a797ded8e2637de91dd4dd5b54bed515f6cda08a'/>
<id>a797ded8e2637de91dd4dd5b54bed515f6cda08a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sed -i 's/. They/.  They/'</title>
<updated>2021-09-10T11:00:06+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-01-14T06:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=94e5953b484517234ad476b1e179d1bdbcbafbd7'/>
<id>94e5953b484517234ad476b1e179d1bdbcbafbd7</id>
<content type='text'>
Truly editorial fix for comments.  This works better with Emacs'
set-justification-full function. [ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Truly editorial fix for comments.  This works better with Emacs'
set-justification-full function. [ci skip]
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace "iff" with "if and only if"</title>
<updated>2021-01-19T20:06:45+00:00</updated>
<author>
<name>Gannon McGibbon</name>
<email>gannon.mcgibbon@gmail.com</email>
</author>
<published>2021-01-06T17:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e'/>
<id>9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e</id>
<content type='text'>
iff means if and only if, but readers without that knowledge might
assume this to be a spelling mistake. To me, this seems like
exclusionary language that is unnecessary. Simply using "if and only if"
instead should suffice.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
iff means if and only if, but readers without that knowledge might
assume this to be a spelling mistake. To me, this seems like
exclusionary language that is unnecessary. Simply using "if and only if"
instead should suffice.
</pre>
</div>
</content>
</entry>
<entry>
<title>sync NDEBUG, RUBY_DEBUG, and RUBY_NDEBUG (#3327)</title>
<updated>2020-08-07T05:01:13+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-08-07T05:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=504e632a15a7886ff693a0162e998aed35d7b2ac'/>
<id>504e632a15a7886ff693a0162e998aed35d7b2ac</id>
<content type='text'>
- When NDEBUG is defined that shall be honoured.
- When RUBY_DEBUG is defined that shall be honoured.
- When both are defined and they conflict, warnings shall be rendered.
- When nothing is specified, nothing shall happen.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- When NDEBUG is defined that shall be honoured.
- When RUBY_DEBUG is defined that shall be honoured.
- When both are defined and they conflict, warnings shall be rendered.
- When nothing is specified, nothing shall happen.</pre>
</div>
</content>
</entry>
<entry>
<title>RUBY_ASSERT_NOASSUME</title>
<updated>2020-05-29T04:50:58+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2020-05-29T04:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d300a734414ef6de7e8eb563b7cc4389c455ed08'/>
<id>d300a734414ef6de7e8eb563b7cc4389c455ed08</id>
<content type='text'>
If __builtin_assume() is enables and RUBY_DEBUG=0, RUBY_ASSERT(expr)
will be compiled to __builtin_assume(expr) and compiler can assume
expr is true and apply aggressive optimizations. However we observed
doubtful behavior because of compiler optimizations, we introduce
new macro RUBY_ASSERT_NOASSUME to disable __builtin_assume().
With this macro, we can try without __builtin_assume().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If __builtin_assume() is enables and RUBY_DEBUG=0, RUBY_ASSERT(expr)
will be compiled to __builtin_assume(expr) and compiler can assume
expr is true and apply aggressive optimizations. However we observed
doubtful behavior because of compiler optimizations, we introduce
new macro RUBY_ASSERT_NOASSUME to disable __builtin_assume().
With this macro, we can try without __builtin_assume().
</pre>
</div>
</content>
</entry>
</feed>
