# HG changeset patch # User Thinker K.F. Li # Date 1280715273 -28800 # Node ID 974d98233eab94554b59395a75927c82a6da0702 # Parent 689e15edbf72a38def605e35191577d9a79dfcad Fix mis-using of arguments of OBJ() argument type diff -r 689e15edbf72 -r 974d98233eab tools/gen_v8_binding.m4 --- a/tools/gen_v8_binding.m4 Sun Aug 01 20:20:33 2010 +0800 +++ b/tools/gen_v8_binding.m4 Mon Aug 02 10:14:33 2010 +0800 @@ -143,7 +143,7 @@ double arg_$][1; ])dnl define([OBJ], [dnl - $][2 *arg_$][1; + $][3 *arg_$][1; ])dnl define([STR], [dnl char *arg_$][1; @@ -186,7 +186,7 @@ arg_$][1 = args[[i++]]->NumberValue(); ])dnl define([OBJ], [dnl - arg_$][1 = ($][2 *)UNWRAP(args[[i++]]->ToObject()); + arg_$][1 = ($][3 *)UNWRAP(args[[i++]]->ToObject()); ])dnl define([STR], [dnl arg_$][1 = strdup(*String::Utf8Value(args[[i++]]->ToString()));