Libraryless. Click here for Pure Java version (2085L/14K).
1 | static S dm_makeNewModuleWithParams(S moduleLibID, O... params) { |
2 | ret (S) dm_callOS('makeNewModule, moduleLibID, false, beforeStart := voidfunc(O mod) { |
3 | print("Got module: " + dm_mod(mod)); |
4 | dm_call(mod, 'setFields, params); |
5 | }); |
6 | } |
Began life as a copy of #1020119
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022782 |
Snippet name: | dm_makeNewModuleWithParams - make & set fields |
Eternal ID of this version: | #1022782/4 |
Text MD5: | 049190accf7da5f66bea4b9243f65d65 |
Transpilation MD5: | f7f229c004f2a9a65ee26229d81616a7 |
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-06-24 00:25:14 |
Source code size: | 246 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 283 / 381 |
Version history: | 3 change(s) |
Referenced in: | [show references] |