From 38a4780c84169ec49cfad209509b8a16a6f8519d Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Thu, 11 Feb 2016 11:23:39 -0500 Subject: [PATCH] update comments for gui_vmess API in s_inter.c --- pd/src/s_inter.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c index c9af80f0d..f47e325d6 100644 --- a/pd/src/s_inter.c +++ b/pd/src/s_inter.c @@ -791,20 +791,17 @@ static void escape_double_quotes(const char *src) { void gui_end_vmess(void) { - sys_gui("\x1f"); /* unit separator */ + sys_gui("\x1f"); /* hack: use unit separator to delimit messages */ } -/* quick hack to send a parameter list for use as a function call in - Node-Webkit */ +/* quick hack to send a parameter list for use as a function call in nw.js */ void gui_do_vmess(const char *sel, char *fmt, int end, va_list ap) { //va_list ap; int nargs = 0; char *fp = fmt; //va_start(ap, end); - sys_vgui("%s ", sel); /* use a bell to signal the beginning of msg - (this can be replaced with any other obscure - ascii escape) */ + sys_vgui("%s ", sel); while (*fp) { // stop-gap-- increase to 20 until we find a way to pass a list or array -- GitLab