Mercurial > MadButterfly
comparison src/X_supp.c @ 556:c9d23f7279a4 Android_Skia
The first testcase that nodejs code can show a MadButterfly window.
This testcase call MadButterfly from Javascript with nodejs framework.
The testcase show a MadButterfly window in X.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 06 Jun 2010 19:13:21 +0800 |
parents | 127499ab2412 |
children | d416e1fff71a 05a453e07d01 |
comparison
equal
deleted
inserted
replaced
555:962d8436a303 | 556:c9d23f7279a4 |
---|---|
664 return XConnectionNumber(((X_MB_runtime_t *)rt)->display); | 664 return XConnectionNumber(((X_MB_runtime_t *)rt)->display); |
665 } | 665 } |
666 | 666 |
667 /*! \brief Flush buffer for the X connection of a runtime object. | 667 /*! \brief Flush buffer for the X connection of a runtime object. |
668 */ | 668 */ |
669 int _X_MB_flush_x_conn_nodejs(void *rt) { | 669 int _X_MB_flush_x_conn_for_nodejs(void *rt) { |
670 return XFlush(((X_MB_runtime_t *)rt)->display); | 670 return XFlush(((X_MB_runtime_t *)rt)->display); |
671 } | 671 } |
672 | 672 |
673 /* @} */ | 673 /* @} */ |