diff --git a/ruby/ruby_internal_arithmetic_int.go b/ruby/ruby_internal_arithmetic_int.go index f334b419..33a32824 100644 --- a/ruby/ruby_internal_arithmetic_int.go +++ b/ruby/ruby_internal_arithmetic_int.go @@ -7,12 +7,12 @@ import "C" // c.f. https://github.com/ruby/ruby/blob/master/include/ruby/internal/arithmetic/int.h -// NUM2INT is alias to [RbNum2intInline] +// NUM2INT is alias to [RbNum2IntInline] func NUM2INT(x VALUE) int { return RbNum2IntInline(x) } -// INT2NUM is alias to [RbInt2numInline] +// INT2NUM is alias to [RbInt2NumInline] func INT2NUM(v int) VALUE { return RbInt2NumInline(v) } diff --git a/ruby/ruby_internal_arithmetic_long.go b/ruby/ruby_internal_arithmetic_long.go index a9638e96..ebb69bb5 100644 --- a/ruby/ruby_internal_arithmetic_long.go +++ b/ruby/ruby_internal_arithmetic_long.go @@ -7,12 +7,12 @@ import "C" // c.f. https://github.com/ruby/ruby/blob/master/include/ruby/internal/arithmetic/long.h -// NUM2LONG is alias to [RbNum2long] +// NUM2LONG is alias to [RbNum2Long] func NUM2LONG(num VALUE) Long { return RbNum2Long(num) } -// LONG2NUM is alias to [RbLong2numInline] +// LONG2NUM is alias to [RbLong2NumInline] func LONG2NUM(v Long) VALUE { return RbLong2NumInline(v) }