00:44:32  * RT|Chatzillajoined
01:11:45  * c4milojoined
01:25:23  * lummoxquit (Ping timeout: 260 seconds)
01:26:13  * lummoxjoined
02:00:39  * RT|Chatzillaquit (Read error: Connection reset by peer)
02:00:51  * RT|Chatzilla_joined
02:01:00  * RT|Chatzilla_changed nick to RT|Chatzilla
02:19:35  * seventhquit (Ping timeout: 245 seconds)
02:36:01  * [[zzzz]]quit (Remote host closed the connection)
03:50:33  * c4miloquit (Remote host closed the connection)
04:11:55  * c4milojoined
04:21:27  * jmar777joined
04:44:04  * c4miloquit (Remote host closed the connection)
04:51:22  * jmar777quit (Remote host closed the connection)
11:36:53  * bnoordhuisjoined
11:40:30  * RT|Chatzillaquit (Read error: Connection reset by peer)
11:42:34  * RT|Chatzillajoined
12:18:02  * c4milojoined
13:05:00  * bnoordhuisquit (Ping timeout: 268 seconds)
14:27:47  * C-Manjoined
14:28:26  * bnoordhuisjoined
15:45:30  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
15:49:04  * c4miloquit (Remote host closed the connection)
16:14:52  * agerquit (Remote host closed the connection)
16:26:43  * rsadhujoined
16:28:18  <rsadhu>hi all, need a help , i want to call a callback function in js from C++ e.g var obj{}; obj.xyz = function(){ alert("hello");} ; so i want to call this xyz fnction from c++... is there any sample code for this in v8
16:28:28  <rsadhu>kindly help here , as i am completely new to it
16:31:54  <bnoordhuis>rsadhu: you need to get a reference to the js function or the object it's part of to c++ land somehow
16:32:36  <bnoordhuis>rsadhu: once you have that captured in a Local<Function>, you just call fn->Call(obj, argc, argv) where argv is an array of Local<Value> or Handle<Value>
16:36:53  <rsadhu>bnoordhuis: thanks ! kindly have a look http://pastebin.com/GGPJJguk
16:42:48  <bnoordhuis>rsadhu: i think you're disposing the context too early
16:45:39  <rsadhu>bnoordhuis: yes you're right and i suspected the same .. its not my code , i found it on some forum, and as a matter of fact , i started v8 learning from today :) , kindly bear with me
16:46:35  <rsadhu>and moving dispose in the end, doesnt change anything
16:46:49  <rsadhu>i want that xyz to be called as i call func->call
16:51:20  * seventhjoined
16:57:52  * c4milojoined
17:04:03  * rsadhuquit (Ping timeout: 250 seconds)
17:04:22  * c4miloquit (Remote host closed the connection)
17:08:57  * rsadhujoined
17:20:50  * c4milojoined
18:21:30  * c4miloquit (Remote host closed the connection)
18:25:49  <rsadhu>bnoordhuis:?
18:32:27  * rsadhuquit (Ping timeout: 250 seconds)
18:39:10  * bnoordhuisquit (Ping timeout: 245 seconds)
19:05:07  * bnoordhuisjoined
19:13:26  * bnoordhuisquit (Ping timeout: 240 seconds)
21:31:12  * bnoordhuisjoined
22:27:53  * juanjosanchezjoined
22:40:31  * RT|Chatzillajoined
23:26:48  * carifjoined
23:44:26  * C-Manquit (Quit: Connection reset by beer)