comparison nodejs/observer.cc @ 655:d58251f1bf0b

Add doc
author Thinker K.F. Li <thinker@branda.to>
date Sat, 31 Jul 2010 14:05:28 +0800
parents aa52883534fc
children 38c720272dd5
comparison
equal deleted inserted replaced
652:1748dce31cdb 655:d58251f1bf0b
43 subject_remove_observer(subject, observer); 43 subject_remove_observer(subject, observer);
44 data = (xnjsmb_observer_data *)observer->arg; 44 data = (xnjsmb_observer_data *)observer->arg;
45 delete data; 45 delete data;
46 } 46 }
47 47
48 /* This is the part of the code generated by gen_v8_binding.m4 */
48 #include "observer-inc.h" 49 #include "observer-inc.h"
49 50
50 static void 51 static void
51 event_handler(event_t *evt, void *arg) { 52 event_handler(event_t *evt, void *arg) {
52 xnjsmb_observer_data *data = (xnjsmb_observer_data *)arg; 53 xnjsmb_observer_data *data = (xnjsmb_observer_data *)arg;