01:11:47  * ncthom91joined
01:26:32  * ncthom91quit (Quit: Textual IRC Client: www.textualapp.com)
03:40:02  <caitp>dsamarin: if the object is null/undefined (at least in near-ToT v8), it should throw an exception
03:40:30  <caitp>so you'd probably need to wrap that in a TryCatch
03:41:46  <dsamarin>Thanks caitp, in my case I'm okay with it throwing an exception, so I just return false
03:42:44  <dsamarin>I have a bool ParseSockaddrFromObject(Isolate *, Local<Value>, sockaddr_storage *, size_t*); which takes an incoming object { port: 12346, family: 'IPv4', address: '127.0.0.1' } and populates the sockaddr stucture
03:43:26  <caitp>and this isn't called from JS code?
03:43:33  <caitp>like, if the pending exception leaks back to JS that's probably not what you want
03:43:45  <caitp>but I dunno
03:43:48  <caitp>if it works that's great :D
03:44:23  <dsamarin>I'm happy, looks like if (!value->ToObject(context).ToLocal(&object)) { return false; } works great!
03:44:53  <caitp>If the exception does become a problem, you could avoid it using Value::IsNullOrUndefined(), which looks pretty convenient
03:45:04  <caitp>probably see performance increase in cases that run into that too
03:46:06  <dsamarin>Cool
03:47:19  <dsamarin>All in all, the new Maybe stuff seems to be a good idea and the API is still easier to use than when I worked with Spidermonkey
05:47:27  * plutoniixquit (Quit: Leaving)
05:56:15  * jugglinmikequit (Quit: Leaving.)
05:56:58  * jugglinmikejoined
06:01:10  * jugglinmikequit (Ping timeout: 240 seconds)
09:26:40  * dsamarinquit (Quit: Leaving)
10:25:11  * mylesborinsquit (Quit: farewell for now)
10:25:41  * mylesborinsjoined
14:30:53  * jugglinmikejoined
15:35:31  * Garbeequit (Quit: Connection closed for inactivity)
16:28:12  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2010030309])
16:56:24  * plutoniixjoined
18:44:49  * xiinotulpjoined
18:48:39  * plutoniixquit (Ping timeout: 268 seconds)
18:56:46  * dsamarinjoined
18:59:39  <dsamarin>Is this possible to do easily with the C++ API? ((Local<Function>)constructor).prototype.__proto__ = ((Local<Function>)object).prototype;
19:04:03  <dsamarin>The normal method would be tpl->Inherit(BaseClass::tpl) but I don't know how to get the FunctionTemplate for a regular JS function
19:06:32  * Vbitzjoined
19:07:54  * ofrobotsquit (*.net *.split)
19:07:55  * benglquit (*.net *.split)
19:07:56  * seththompson_quit (*.net *.split)
19:07:56  * arvquit (*.net *.split)
19:07:56  * Vbitz_quit (*.net *.split)
19:10:42  * mylesborinsquit (Ping timeout: 260 seconds)
19:12:55  * mylesborinsjoined
19:16:48  * Pablo[m]quit (Ping timeout: 240 seconds)
19:18:49  * ofrobotsjoined
19:18:49  * bengljoined
19:18:49  * seththompson_joined
19:18:49  * arvjoined
19:29:13  * rniwajoined
19:38:09  * rniwaquit (Quit: Textual IRC Client: www.textualapp.com)
21:16:30  * Pablo[m]joined
22:47:03  * RT|Chatzillajoined
22:53:32  * jugglinmikequit (Quit: Leaving.)