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

7
LINES

< > BotCompany Repo | #1031598 // cPcall - pcall a concept's method by reflection. actually works for everything

JavaX fragment (include)

sO cPcall(Concept.Ref ref, S method, O... args) {
  ret pcallWithEnter(cDeref(ref), method, args);
}

sO cPcall(O object, S method, O... args) {
  ret pcallWithEnter(object, method, args);
}

Author comment

Began life as a copy of #1031372

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031598
Snippet name: cPcall - pcall a concept's method by reflection. actually works for everything
Eternal ID of this version: #1031598/2
Text MD5: d7ea5fa26b343838defc17386900268b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 09:01:52
Source code size: 196 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 184
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)