00001 /********************************************************************** 00002 00003 ruby/vm.h - 00004 00005 $Author: nobu $ 00006 created at: Sat May 31 15:17:36 2008 00007 00008 Copyright (C) 2008 Yukihiro Matsumoto 00009 00010 **********************************************************************/ 00011 00012 #ifndef RUBY_VM_H 00013 #define RUBY_VM_H 1 00014 00015 #if defined(__cplusplus) 00016 extern "C" { 00017 #if 0 00018 } /* satisfy cc-mode */ 00019 #endif 00020 #endif 00021 00022 /* Place holder. 00023 * 00024 * We will prepare VM creation/control APIs on 1.9.2 or later. 00025 * If you have an interest about it, please see mvm branch. 00026 * http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/mvm/ 00027 */ 00028 00029 /* VM type declaration */ 00030 typedef struct rb_vm_struct ruby_vm_t; 00031 00032 /* core API */ 00033 int ruby_vm_destruct(ruby_vm_t *vm); 00034 00035 #if defined(__cplusplus) 00036 #if 0 00037 { /* satisfy cc-mode */ 00038 #endif 00039 } /* extern "C" { */ 00040 #endif 00041 00042 #endif /* RUBY_VM_H */ 00043