Mercurial > MadButterfly
changeset 663:974d98233eab
Fix mis-using of arguments of OBJ() argument type
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 02 Aug 2010 10:14:33 +0800 |
parents | 689e15edbf72 |
children | 08fd45d119c9 |
files | tools/gen_v8_binding.m4 |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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()));