search for: setproto

Displaying 2 results from an estimated 2 matches for "setproto".

Did you mean: eproto
1998 Nov 24
1
Missing inet.h and netdb.h for SCO
I tried to compile Samba 2.0 beta with cc under SCO 3.2. I seem to be missing the inet.h and netdb.h include files. Does anyone know if they are publicly available? Steve Grose Sgrose@cmps.com Continental Managed Pharmacy Services - www.preferrx.com Voice - 216-459-2025 Ext. 208 Fax - 216-485-8615 Any opinions expressed are my own and not necessarily those of my employers.
2007 Sep 13
0
2 commits - libswfdec/swfdec_as_function.c test/trace
...++ b/test/trace/scope-chain-did-you-understand.as @@ -0,0 +1,23 @@ +// makeswf -v 7 -s 200x150 -r 1 -o scope-chain-did-you-understand.swf scope-chain-did-you-understand.as +// taken with permission from http://www.timotheegroleau.com/Flash/articles/scope_chain.htm + +getMethod = function() { + var setProto = function() { + this.__proto__ = o1; + }; + setProto(); + + return function() { + trace(a); + }; +}; + +_global.a = 4; +o1 = {a:5}; +o2 = {a:6}; +a = 7; + +o2.theMethod = getMethod(); +o2.theMethod(); + +loadMovie ("FSCommand:quit", ""); diff --git a/test/trace/scope-...