<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/dln.c, 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>Avoid dangling pointer on cygwin</title>
<updated>2024-10-25T11:52:32+00:00</updated>
<author>
<name>Daisuke Fujimura (fd0)</name>
<email>booleanlabel@gmail.com</email>
</author>
<published>2024-10-25T10:13:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9c8c140d73f8d2d11fd06733bc55f40acb17b334'/>
<id>9c8c140d73f8d2d11fd06733bc55f40acb17b334</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cast via `uintptr_t` function pointer between object pointer</title>
<updated>2024-10-08T14:29:49+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-08T06:41:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9a90cd228466ec088d6f0da8d1aa065f03daa7c8'/>
<id>9a90cd228466ec088d6f0da8d1aa065f03daa7c8</id>
<content type='text'>
- ISO C forbids conversion of function pointer to object pointer type
- ISO C forbids conversion of object pointer to function pointer type
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- ISO C forbids conversion of function pointer to object pointer type
- ISO C forbids conversion of object pointer to function pointer type
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert all changes to dln.c, dmydln.c, dln.h for the shared GC</title>
<updated>2024-07-10T18:28:10+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-07-10T15:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=52a0dfd4bfe3a307c8b5efe2675134457684c062'/>
<id>52a0dfd4bfe3a307c8b5efe2675134457684c062</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow RUBY_GC_LIBRARY_PATH to be set in miniruby</title>
<updated>2024-04-26T21:02:08+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-04-26T19:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f64c97418bb32c8595829c658251f6145a76c13a'/>
<id>f64c97418bb32c8595829c658251f6145a76c13a</id>
<content type='text'>
miniruby is used by tool/runruby.rb, so we need to ensure we don't rb_bug
when RUBY_GC_LIBRARY_PATH is set so we can run tests using the make
commands. This commit changes it to warn instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
miniruby is used by tool/runruby.rb, so we need to ensure we don't rb_bug
when RUBY_GC_LIBRARY_PATH is set so we can run tests using the make
commands. This commit changes it to warn instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass string error buffer into dln_open</title>
<updated>2024-04-24T17:10:06+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-04-24T15:01:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=057b69cfdf633b6b0cf67e8b0621476e7234efa8'/>
<id>057b69cfdf633b6b0cf67e8b0621476e7234efa8</id>
<content type='text'>
On Windows, the error exists on the stack so we should pass an error
buffer from the caller.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Windows, the error exists on the stack so we should pass an error
buffer from the caller.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get error from dln_open when USE_SHARED_GC</title>
<updated>2024-04-23T19:29:42+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-04-23T18:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b9109b270d129561f06bc2dcd6feaf5c43e82360'/>
<id>b9109b270d129561f06bc2dcd6feaf5c43e82360</id>
<content type='text'>
Before, if dln_open failed to open RUBY_GC_LIBRARY_PATH, it would segfault
because it would try to raise an error, which cannot happen because the
GC has not been initialized yet.

This commit changes dln_open to return the error that occurred so the
caller can handle the error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before, if dln_open failed to open RUBY_GC_LIBRARY_PATH, it would segfault
because it would try to raise an error, which cannot happen because the
GC has not been initialized yet.

This commit changes dln_open to return the error that occurred so the
caller can handle the error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize external GC Library</title>
<updated>2024-04-15T18:50:47+00:00</updated>
<author>
<name>Matt Valentine-House</name>
<email>matt@eightbitraptor.com</email>
</author>
<published>2024-04-02T12:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=065710c0f5c1e81f0fa7ab6ddd3ccbc41e9cc2cc'/>
<id>065710c0f5c1e81f0fa7ab6ddd3ccbc41e9cc2cc</id>
<content type='text'>
Co-Authored-By: Peter Zhu &lt;peter@peterzhu.ca&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: Peter Zhu &lt;peter@peterzhu.ca&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor to use `struct string_part`</title>
<updated>2024-02-22T06:43:46+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-22T05:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e1c684e4711eacdb3520c55d11415217026dd892'/>
<id>e1c684e4711eacdb3520c55d11415217026dd892</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Split `init_funcname`</title>
<updated>2024-02-22T06:43:46+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-22T04:24:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=97a39ccc2cada2eb5d25ec74169d6a513356ff38'/>
<id>97a39ccc2cada2eb5d25ec74169d6a513356ff38</id>
<content type='text'>
Extract `build_funcname` that takes the prefix as an argument, and
`concat_funcname` that concats the parts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extract `build_funcname` that takes the prefix as an argument, and
`concat_funcname` that concats the parts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not define ABI version in statically linked objects</title>
<updated>2024-02-04T11:33:45+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-01-13T14:59:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7b3e05c3927a90b895ea48d088f40a5662cf1787'/>
<id>7b3e05c3927a90b895ea48d088f40a5662cf1787</id>
<content type='text'>
It is for dynamically loading, useless for statically linked objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is for dynamically loading, useless for statically linked objects.
</pre>
</div>
</content>
</entry>
</feed>
