Skip to content

Commit

Permalink
[ruby/fiddle] Fix comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove authored and hsbt committed Jan 27, 2023
1 parent 1df7f35 commit f4609b6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ext/fiddle/fiddle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit f4609b6

Please sign in to comment.