mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
re-add io.h and encoding.h into internal.h
This is tentative. For the sake of simplicity we partially revert commitse9cb552ec9
,ee85a6e72b
and51edb30042
. Will decouple them once again when we are ready.
This commit is contained in:
parent
b739a63eb4
commit
1dd149d3b1
Notes:
git
2019-12-26 20:46:08 +09:00
3 changed files with 2 additions and 8 deletions
|
@ -12,10 +12,6 @@
|
||||||
#ifndef RUBY_ENCODING_H
|
#ifndef RUBY_ENCODING_H
|
||||||
#define RUBY_ENCODING_H 1
|
#define RUBY_ENCODING_H 1
|
||||||
|
|
||||||
#ifdef RUBY_INTERNAL_H
|
|
||||||
#error "Include this file before internal.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
@ -12,10 +12,6 @@
|
||||||
#ifndef RUBY_IO_H
|
#ifndef RUBY_IO_H
|
||||||
#define RUBY_IO_H 1
|
#define RUBY_IO_H 1
|
||||||
|
|
||||||
#ifdef RUBY_INTERNAL_H
|
|
||||||
#error "Include this file before internal.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
@ -21,6 +21,8 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "ruby/encoding.h"
|
||||||
|
#include "ruby/io.h"
|
||||||
#include "internal/stdbool.h"
|
#include "internal/stdbool.h"
|
||||||
#include "internal/bits.h"
|
#include "internal/bits.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue