Mercurial > MadButterfly
changeset 673:f5d2ff34c6f6
Definition of binding for mblfy_njs.cc
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 05 Aug 2010 23:33:46 +0800 |
parents | cbad519226d4 |
children | 5c8387fd123e |
files | nodejs/mbfly_njs.m4 |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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 +)