* vm.c (ruby_vm_destruct): This function type was wrong; correct to the prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e79fbf3dfe
commit
7724d13635
@ -1,3 +1,7 @@
|
||||
Wed Oct 13 19:24:08 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
|
||||
|
||||
* vm.c (ruby_vm_destruct): This function type was wrong; correct to the prototype.
|
||||
|
||||
Wed Oct 13 14:58:09 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* numeric.c (rb_num_to_uint): fix 32bit logic.
|
||||
|
6
vm.c
6
vm.c
@ -9,6 +9,7 @@
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/vm.h"
|
||||
#include "ruby/st.h"
|
||||
#include "ruby/encoding.h"
|
||||
|
||||
@ -1519,11 +1520,10 @@ rb_vm_mark(void *ptr)
|
||||
#define vm_free 0
|
||||
|
||||
int
|
||||
ruby_vm_destruct(void *ptr)
|
||||
ruby_vm_destruct(rb_vm_t *vm)
|
||||
{
|
||||
RUBY_FREE_ENTER("vm");
|
||||
if (ptr) {
|
||||
rb_vm_t *vm = ptr;
|
||||
if (vm) {
|
||||
rb_thread_t *th = vm->main_thread;
|
||||
#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
|
||||
struct rb_objspace *objspace = vm->objspace;
|
||||
|
Loading…
x
Reference in New Issue
Block a user