mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
5ac4bf2cd8
commit
9e6e39c351
Notes:
git
2020-04-08 13:28:42 +09:00
Merged-By: shyouhei <shyouhei@ruby-lang.org>
383 changed files with 60184 additions and 5439 deletions
|
@ -5,7 +5,7 @@
|
|||
which is written in ruby.
|
||||
*/
|
||||
|
||||
#include "ruby/config.h"
|
||||
#include "ruby/3/config.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
|
@ -24,7 +24,6 @@
|
|||
#include "id.h"
|
||||
#include "internal.h"
|
||||
#include "internal/complex.h"
|
||||
#include "internal/error.h"
|
||||
#include "internal/gc.h"
|
||||
#include "internal/numeric.h"
|
||||
#include "internal/object.h"
|
||||
|
@ -404,7 +403,7 @@ nurat_s_new_internal(VALUE klass, VALUE num, VALUE den)
|
|||
|
||||
RATIONAL_SET_NUM((VALUE)obj, num);
|
||||
RATIONAL_SET_DEN((VALUE)obj, den);
|
||||
OBJ_FREEZE_RAW(obj);
|
||||
OBJ_FREEZE_RAW((VALUE)obj);
|
||||
|
||||
return (VALUE)obj;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue