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

4
LINES

< > BotCompany Repo | #1029575 // dm_assertFirstSibling - fails if we are not the first sibling for this module lib ID

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3459L/21K).

1  
svoid dm_assertFirstSibling() {
2  
  if (!dm_isFirstSiblingModule(dm_current_mandatory_generic()))
3  
    fail("Don't start this module (" + dm_moduleLibID() + ") multiple times. This instance will exit.");
4  
}

Author comment

Began life as a copy of #1029574

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029575
Snippet name: dm_assertFirstSibling - fails if we are not the first sibling for this module lib ID
Eternal ID of this version: #1029575/6
Text MD5: f77e636c65eb64d049955cb1d09ed1e6
Transpilation MD5: 83f078b6d976b9c2c955e0bdf2721565
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-06-09 06:33:26
Source code size: 205 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 272 / 364
Version history: 5 change(s)
Referenced in: [show references]