# HG changeset patch # User Thinker K.F. Li # Date 1281022426 -28800 # Node ID f5d2ff34c6f6d77c63aef1d5aa6b4212dda0bd6a # Parent cbad519226d4994550cb21cb20fb006c463bc486 Definition of binding for mblfy_njs.cc diff -r cbad519226d4 -r f5d2ff34c6f6 nodejs/mbfly_njs.m4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nodejs/mbfly_njs.m4 Thu Aug 05 23:33:46 2010 +0800 @@ -0,0 +1,11 @@ +dnl +define([PROJ_PREFIX], [xnjsmb_auto_])dnl +dnl +STRUCT([mb_rt], [njs_runtime_t], [], + [METHOD([coord_new], [xnjsmb_coord_new], + (OBJ([parent], [coord], [coord_t]), ERR), 1, + [OBJ([coord], [coord_t])], (([MOD], xnjsmb_coord_mod))), + METHOD([redraw_changed], [xnjsmb_redraw_changed], (), 0, []), + METHOD([redraw_all], [xnjsmb_redraw_all], (), 0, [])], + ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl +)