diff nodejs/mbfly_njs.h @ 1374:3eaf708b52c3

share xnjsmb_mb_rt_objs_mod for mbfly_njs.c and coord.cc
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 11 Mar 2011 11:01:48 +0800
parents 88bd0eee2b00
children 8ecee58c85c6
line wrap: on
line diff
--- a/nodejs/mbfly_njs.h	Fri Mar 11 02:48:18 2011 +0800
+++ b/nodejs/mbfly_njs.h	Fri Mar 11 11:01:48 2011 +0800
@@ -77,4 +77,8 @@
 v8::Handle<v8::Value> export_xnjsmb_auto_subject_new(subject_t *subject);
 void xnjsmb_observer_init(void);
 
+extern void _xnjsmb_mb_rt_objs_mod(v8::Handle<v8::Object> mbrt,
+				  v8::Handle<v8::Value> ret);
+#define xnjsmb_mb_rt_objs_mod _xnjsmb_mb_rt_objs_mod
+
 #endif /* __MBFLY_NJS_H_ */