Merge pull request #2991 from shyouhei/ruby.h

Split ruby.h
This commit is contained in:
卜部昌平 2020-04-08 13:28:13 +09:00 committed by GitHub
parent 5ac4bf2cd8
commit 9e6e39c351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

View file

@ -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;
}