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

* include/ruby: moved public headers.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-06-10 03:06:15 +00:00
parent 1b8a677b23
commit 2b592580bf
124 changed files with 646 additions and 408 deletions

View file

@ -2,10 +2,9 @@
* $Id$
*/
#include <ruby.h>
#include <rubyio.h>
#include <ruby/ruby.h>
#include <ruby/io.h>
#include <ctype.h>
#include <version.h> /* for ruby version code */
#include "dl.h"
VALUE rb_cDLCPtr;
@ -421,7 +420,7 @@ rb_dlptr_s_to_ptr(VALUE self, VALUE val)
rb_io_t *fptr;
FILE *fp;
GetOpenFile(val, fptr);
#if RUBY_VERSION_CODE >= 190
#if HAVE_RB_IO_STDIO_FILE
fp = rb_io_stdio_file(fptr);
#else
fp = fptr->f;