| <<<Back 1 day (to 2017/01/12) | 20170113 |
sh4rm4^bnc_ | i'm making an ircbot with mujs. my plan is that the main loop is in C, and when an event happens js code is triggered somehow. however i dont want one js file per event. suggestions ? | 01:48.32 |
| (my idea about how it usually works is that you run your js script so the script has the main loop and calls back to C) | 01:50.59 |
| it seems the documentation http://mujs.com/docs/reference is incorrect, the prototype of newcfunction() takes only 3 args there, but main.c uses 4 args | 01:56.09 |
| maybe i need to clarify: so my planned js script has a function on_text and on_disconnect and i'd like to call the one or other from C by name | 02:13.47 |
ray_laptop | sh4rm4^bnc_: if you're still looking for an answer, tor8 or sebras are probably your best bet | 15:06.09 |
tor8 | sh4rm4^bnc_: well, you can load a script from C code, and call named functions in it easily enough. | 15:11.24 |
jrm | Hi. I have a feature request. Could mupdf set the _NET_WM_PID X11 property? | 21:30.16 |
Robin_Watts | jrm: open a bug on bugs.ghostscript.com, state the reason, and add a patch if you can. We'll consider it. | 23:41.25 |
| Forward 1 day (to 2017/01/14)>>> | |