summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 06:17:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 06:17:45 +0000
commit1a192e2b29e9a7fa91632f1fbbffefb3ecdd1b63 (patch)
tree43b394fdba488a790c9a7ad7f0016ff6ffd69a2b /include
parent7981720812b73175c27a90d1d653c5e127e439ff (diff)
* 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
Diffstat (limited to 'include')
-rw-r--r--include/ruby.h20
-rw-r--r--include/ruby/mvm.h18
2 files changed, 38 insertions, 0 deletions
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 <ruby/ruby.h>
+#if RUBY_VM
+#include <ruby/mvm.h>
+#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 */