please include function print. // for print_log
static L hotwire_copyOver_after = synchroList();
static void hotwire_copyOver(Class c) {
// TODO: make a mechanism for making such "inheritable" fields
for (S field : ll('print_log, 'print_silent, 'androidContext, '_userHome))
setOptIfNotNull(c, field, getOpt(mc(), field));
ifdef hotwire_copyOver_extend
hotwire_copyOver_extend(c);
endifdef
setOptIfNotNull(c, mainBot := getMainBot());
setOpt(c, creator_class := new WeakReference(mc()));
pcallFAll(hotwire_copyOver_after, c);
}download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003123 |
| Snippet name: | hotwire_copyOver - copy standard fields to sub program/bot; always done in hotwiring class (not in core) |
| Eternal ID of this version: | #1003123/8 |
| Text MD5: | eb5e6ea234a0971d77699521a590c554 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-14 13:43:32 |
| Source code size: | 575 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1226 / 2564 |
| Version history: | 7 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |