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 (3056L/20K).

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

Author comment

Began life as a copy of #1029574

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, 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/5
Text MD5: 299f208b2e01d6807193403d7196d647
Transpilation MD5: 8e485d706d5ef4b08c79ece77b212579
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-24 12:58:25
Source code size: 178 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 36 / 62
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1029575 & http://1029575.tinybrain.de