[ruby/fiddle] Fix comment formatting

https://github.com/ruby/fiddle/commit/36b2432575
This commit is contained in:
Aaron Patterson 2022-12-27 14:23:51 -08:00 committed by Hiroshi SHIBATA
parent 1df7f359d1
commit f4609b6bc4
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -62,12 +62,12 @@ rb_fiddle_free(VALUE self, VALUE addr)
* *
* Example: * Example:
* *
* >> x = Object.new * x = Object.new
* => #<Object:0x0000000107c7d870> * # => #<Object:0x0000000107c7d870>
* >> Fiddle.dlwrap(x) * Fiddle.dlwrap(x)
* => 4425504880 * # => 4425504880
* >> Fiddle.dlunwrap(_) * Fiddle.dlunwrap(_)
* => #<Object:0x0000000107c7d870> * # => #<Object:0x0000000107c7d870>
*/ */
VALUE VALUE
rb_fiddle_ptr2value(VALUE self, VALUE addr) rb_fiddle_ptr2value(VALUE self, VALUE addr)
@ -82,18 +82,18 @@ rb_fiddle_ptr2value(VALUE self, VALUE addr)
* *
* Example: * Example:
* *
* >> x = Object.new * x = Object.new
* => #<Object:0x0000000107c7d870> * # => #<Object:0x0000000107c7d870>
* >> Fiddle.dlwrap(x) * Fiddle.dlwrap(x)
* => 4425504880 * # => 4425504880
* *
* In the case +val+ is not a heap allocated object, this method will return * In the case +val+ is not a heap allocated object, this method will return
* the tagged pointer value. * the tagged pointer value.
* *
* Example: * Example:
* *
* >> Fiddle.dlwrap(123) * Fiddle.dlwrap(123)
* => 247 * # => 247
*/ */
static VALUE static VALUE
rb_fiddle_value2ptr(VALUE self, VALUE val) rb_fiddle_value2ptr(VALUE self, VALUE val)