Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1019141 // dm_callModuleOpt - call optional function in a module

JavaX fragment (include)

static <A> A dm_callModuleOpt(O moduleOrID, S method, O... args) {
  O mod = dm_getModule(moduleOrID);
  if (mod == null) null;
  temp dm_enter(mod);
  ret (A) callOpt_withVarargs(mod, method, args);
}

Author comment

Began life as a copy of #1018561

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1019141
Snippet name: dm_callModuleOpt - call optional function in a module
Eternal ID of this version: #1019141/3
Text MD5: 1f05a097dc1fda1a62ed679f3b2dd1cf
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-07 21:31:19
Source code size: 206 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 318
Version history: 2 change(s)
Referenced in: [show references]