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