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)

1  
sO cPcall(Concept.Ref ref, S method, O... args) {
2  
  ret pcallWithEnter(cDeref(ref), method, args);
3  
}
4  
5  
sO cPcall(O object, S method, O... args) {
6  
  ret pcallWithEnter(object, method, args);
7  
}

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: 155 / 186
Version history: 1 change(s)
Referenced in: [show references]