1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

re-add io.h and encoding.h into internal.h

This is tentative.  For the sake of simplicity we partially revert
commits e9cb552ec9, ee85a6e72b and 51edb30042.  Will decouple them
once again when we are ready.
This commit is contained in:
卜部昌平 2019-12-04 10:55:55 +09:00
parent b739a63eb4
commit 1dd149d3b1
Notes: git 2019-12-26 20:46:08 +09:00
3 changed files with 2 additions and 8 deletions

View file

@ -12,10 +12,6 @@
#ifndef RUBY_ENCODING_H
#define RUBY_ENCODING_H 1
#ifdef RUBY_INTERNAL_H
#error "Include this file before internal.h"
#endif
#if defined(__cplusplus)
extern "C" {
#if 0

View file

@ -12,10 +12,6 @@
#ifndef RUBY_IO_H
#define RUBY_IO_H 1
#ifdef RUBY_INTERNAL_H
#error "Include this file before internal.h"
#endif
#if defined(__cplusplus)
extern "C" {
#if 0

View file

@ -21,6 +21,8 @@ extern "C" {
#endif
#endif
#include "ruby/encoding.h"
#include "ruby/io.h"
#include "internal/stdbool.h"
#include "internal/bits.h"