support NativeInterface inheritance.
eg:
var f = { __proto__: new File('test.txt') };
f.Open('r');
var b = new Buffer(f);
Print( b.Read(1) );
or:
var f = { __proto__: Stream('1234') };
var b = new Buffer(f);
Print( b.Read(1) );
Original issue reported on code.google.com by sou...@gmail.com on 21 Jul 2008 at 9:42
Original issue reported on code.google.com by
sou...@gmail.com
on 21 Jul 2008 at 9:42