include/ruby/vm.h

Go to the documentation of this file.
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 RUBY_SYMBOL_EXPORT_BEGIN
00023 
00024 /* Place holder.
00025  *
00026  * We will prepare VM creation/control APIs on 1.9.2 or later.
00027  * If you have an interest about it, please see mvm branch.
00028  * http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/mvm/
00029  */
00030 
00031 /* VM type declaration */
00032 typedef struct rb_vm_struct ruby_vm_t;
00033 
00034 /* core API */
00035 int ruby_vm_destruct(ruby_vm_t *vm);
00036 
00053 void ruby_vm_at_exit(void(*func)(ruby_vm_t *));
00054 
00055 RUBY_SYMBOL_EXPORT_END
00056 
00057 #if defined(__cplusplus)
00058 #if 0
00059 { /* satisfy cc-mode */
00060 #endif
00061 }  /* extern "C" { */
00062 #endif
00063 
00064 #endif /* RUBY_VM_H */
00065 

Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7