Skip to content

Instantly share code, notes, and snippets.

@CodeSandwich
Created March 26, 2018 12:36
Show Gist options
  • Save CodeSandwich/611958d4568608b95c94481bf97850e2 to your computer and use it in GitHub Desktop.
Save CodeSandwich/611958d4568608b95c94481bf97850e2 to your computer and use it in GitHub Desktop.
main {
A = allocate() // acquire
do_stuff(A) // use
release(A) // release
// delete pointer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment