aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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 */