<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/fiddle, branch ruby_3_1</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/fiddle] Use test-unit gem (https://github.com/ruby/fiddle/pull/69)</title>
<updated>2021-09-05T08:43:48+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-09-04T19:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f752c95d20134bcc0b5394f1cea723a40f1ac8c'/>
<id>8f752c95d20134bcc0b5394f1cea723a40f1ac8c</id>
<content type='text'>
https://github.com/ruby/fiddle/commit/e08c4c635e

Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fiddle/commit/e08c4c635e

Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Simplify libc and libm path logics (https://github.com/ruby/fiddle/pull/91)</title>
<updated>2021-08-24T07:18:24+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-08-24T04:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bcc5a2b67eb10836aa54279d88230b3cb349a2e3'/>
<id>bcc5a2b67eb10836aa54279d88230b3cb349a2e3</id>
<content type='text'>
* Simplify libc_so and libm_so

If nil, no need to set to nil.

* Get rid of repeating inversions

https://github.com/ruby/fiddle/commit/4323e689d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Simplify libc_so and libm_so

If nil, no need to set to nil.

* Get rid of repeating inversions

https://github.com/ruby/fiddle/commit/4323e689d8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Improve "offsetof" calculations (https://github.com/ruby/fiddle/pull/90)</title>
<updated>2021-08-24T07:18:22+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2021-08-19T23:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0f1e8f38c9cd008eb24e6c957388a183eac910ca'/>
<id>0f1e8f38c9cd008eb24e6c957388a183eac910ca</id>
<content type='text'>
I need to get the offset of members inside sub structures.  This patch
adds sub-structure offset support for structs.

https://github.com/ruby/fiddle/commit/cf78eddbb6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I need to get the offset of members inside sub structures.  This patch
adds sub-structure offset support for structs.

https://github.com/ruby/fiddle/commit/cf78eddbb6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Handle#file_name results in very platform dependent</title>
<updated>2021-07-15T00:49:56+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-07-15T00:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f347b586fb2ae53a630593a39984a4f1e9dae10b'/>
<id>f347b586fb2ae53a630593a39984a4f1e9dae10b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Module file name may be the realpath</title>
<updated>2021-07-15T00:20:10+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-07-15T00:19:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c67c83fb68e2f514f359633da12b59d93d7dda5a'/>
<id>c67c83fb68e2f514f359633da12b59d93d7dda5a</id>
<content type='text'>
Even when the path which was used to dlopen may be a symlink.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even when the path which was used to dlopen may be a symlink.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] fixed the test on case-insensitive filesystem</title>
<updated>2021-07-14T13:00:56+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-07-14T13:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2fa3209a350f21f31d65e0d85f9903244d40f8f1'/>
<id>2fa3209a350f21f31d65e0d85f9903244d40f8f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Add Fiddle::Handle#file_name (https://github.com/ruby/fiddle/pull/88)</title>
<updated>2021-07-14T09:56:00+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@users.noreply.github.com</email>
</author>
<published>2021-07-14T06:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=67897762cf3cabad99effd636b50a2db26fb0f3f'/>
<id>67897762cf3cabad99effd636b50a2db26fb0f3f</id>
<content type='text'>
https://github.com/ruby/fiddle/commit/4ee1c6fc4b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fiddle/commit/4ee1c6fc4b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Return the module handle value in Fiddle::Handle#to_i and add FIddle::Handle#to_ptr (https://github.com/ruby/fiddle/pull/87)</title>
<updated>2021-07-14T09:43:32+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@users.noreply.github.com</email>
</author>
<published>2021-07-14T02:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=818c74b7f4d5b88833af26226fc81e563b5d11b9'/>
<id>818c74b7f4d5b88833af26226fc81e563b5d11b9</id>
<content type='text'>
https://github.com/ruby/fiddle/commit/170111a0cb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fiddle/commit/170111a0cb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Add "offsetof" to Struct classes (https://github.com/ruby/fiddle/pull/83)</title>
<updated>2021-07-13T10:37:46+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2021-07-01T00:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5c0d8c6369f92915bf99924f58f0763abe4f493e'/>
<id>5c0d8c6369f92915bf99924f58f0763abe4f493e</id>
<content type='text'>
* Add "offsetof" to Struct classes

I need to get the offset of a member inside a struct without allocating
the struct.  This patch adds an "offsetof" class method to structs that
are generated.

The usage is like this:

```ruby
MyStruct = struct [
  "int64_t i",
  "char c",
]

MyStruct.offsetof("i") # =&gt; 0
MyStruct.offsetof("c") # =&gt; 8
```

* Update test/fiddle/test_c_struct_builder.rb

Co-authored-by: Sutou Kouhei &lt;kou@cozmixng.org&gt;

https://github.com/ruby/fiddle/commit/4e3b60c5b6

Co-authored-by: Sutou Kouhei &lt;kou@cozmixng.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add "offsetof" to Struct classes

I need to get the offset of a member inside a struct without allocating
the struct.  This patch adds an "offsetof" class method to structs that
are generated.

The usage is like this:

```ruby
MyStruct = struct [
  "int64_t i",
  "char c",
]

MyStruct.offsetof("i") # =&gt; 0
MyStruct.offsetof("c") # =&gt; 8
```

* Update test/fiddle/test_c_struct_builder.rb

Co-authored-by: Sutou Kouhei &lt;kou@cozmixng.org&gt;

https://github.com/ruby/fiddle/commit/4e3b60c5b6

Co-authored-by: Sutou Kouhei &lt;kou@cozmixng.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Add MemoryView.export and MemoryView#release (https://github.com/ruby/fiddle/pull/80)</title>
<updated>2021-07-13T10:37:45+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@cozmixng.org</email>
</author>
<published>2021-06-17T04:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=10e26cfa76468dea6f828dbe8031b5ffcff543cb'/>
<id>10e26cfa76468dea6f828dbe8031b5ffcff543cb</id>
<content type='text'>
fix https://github.com/ruby/fiddle/pull/79

Users can release memory views explicitly before process exit.

Reported by xtkoba. Thanks!!!

https://github.com/ruby/fiddle/commit/1de64b7e76

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix https://github.com/ruby/fiddle/pull/79

Users can release memory views explicitly before process exit.

Reported by xtkoba. Thanks!!!

https://github.com/ruby/fiddle/commit/1de64b7e76

</pre>
</div>
</content>
</entry>
</feed>
