* 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

@ -10,10 +10,9 @@
#define TKUTIL_RELEASE_DATE "2006-04-06"
#include "ruby.h"
#include "rubysig.h"
#include "version.h"
#include "st.h"
#include "ruby/ruby.h"
#include "ruby/signal.h"
#include "ruby/st.h"
static VALUE cMethod;
@ -59,7 +58,7 @@ tk_s_new(argc, argv, klass)
VALUE obj = rb_class_new_instance(argc, argv, klass);
if (rb_block_given_p()) {
#if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR <= 8 /* ruby 1.8.x */
#ifndef HAVE_RB_OBJ_INSTANCE_EXEC
rb_obj_instance_eval(0, 0, obj);
#else
rb_obj_instance_exec(1, &obj, obj);