From 1a192e2b29e9a7fa91632f1fbbffefb3ecdd1b63 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 31 May 2008 06:17:45 +0000 Subject: * include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t and rb_thread_t from vm_core.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby.h | 20 ++++++++++++++++++++ include/ruby/mvm.h | 18 ++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 include/ruby/mvm.h (limited to 'include') diff --git a/include/ruby.h b/include/ruby.h index b1fb46c897..cbe5aaa3bf 100644 --- a/include/ruby.h +++ b/include/ruby.h @@ -1 +1,21 @@ +/********************************************************************** + + ruby/mvm.h - + + $Author$ + created at: Sun 10 12:06:15 Jun JST 2007 + + Copyright (C) 2007-2008 Yukihiro Matsumoto + +**********************************************************************/ + +#ifndef RUBY_H +#define RUBY_H 1 + #include +#if RUBY_VM +#include +#endif + +extern void ruby_set_debug_option(const char *); +#endif /* RUBY_H */ diff --git a/include/ruby/mvm.h b/include/ruby/mvm.h new file mode 100644 index 0000000000..6b6a2f5232 --- /dev/null +++ b/include/ruby/mvm.h @@ -0,0 +1,18 @@ +/********************************************************************** + + ruby/mvm.h - + + $Author$ + created at: Sat May 31 15:17:36 2008 + + Copyright (C) 2008 Yukihiro Matsumoto + +**********************************************************************/ + +#ifndef RUBY_MVM_H +#define RUBY_MVM_H 1 + +typedef struct rb_vm_struct rb_vm_t; +typedef struct rb_thread_struct rb_thread_t; + +#endif /* RUBY_MVM_H */ -- cgit v1.2.3