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

6
LINES

< > BotCompany Repo | #1024224 // discord_releaseDecompressBuffer (hack, but shouldn't do any harm)

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

Libraryless. Click here for Pure Java version (1701L/11K).

// returns true if there was anything to release
sbool discord_releaseDecompressBuffer(virtual JDA jda) {
  Reference ref = discord_getDecompressBuffer(jda);
  if (getWeakRef(ref) == null) false;
  ret true with ref.clear();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024224
Snippet name: discord_releaseDecompressBuffer (hack, but shouldn't do any harm)
Eternal ID of this version: #1024224/2
Text MD5: b76033379442eb4ce8c5f50c3d415a1f
Transpilation MD5: 1526fed00708e62335a0bfdb7a7aa323
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-28 13:25:59
Source code size: 231 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 234
Version history: 1 change(s)
Referenced in: [show references]