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

8
LINES

< > BotCompany Repo | #1023495 // dm_migrateModule - call migrateModuleToType if supported, otherwise change module lib id

JavaX fragment (include)

sS dm_migrateModule(O module, S newModuleLibID) {
  if (hasMethodNamed(dm_mod(module), 'migrateToType))
    ret (S) dm_call(module, 'migrateToType, newModuleLibID);
  else {
    dm_changeModuleLibID(module, newModuleLibID);
    ret dm_moduleID(module);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1023495
Snippet name: dm_migrateModule - call migrateModuleToType if supported, otherwise change module lib id
Eternal ID of this version: #1023495/6
Text MD5: 8a6ce5ccdb0ce9fbf9209b1a64e602e4
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-03 23:05:43
Source code size: 265 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 292 / 356
Version history: 5 change(s)
Referenced in: [show references]