Skip to content

Instantly share code, notes, and snippets.

@simonask
Created February 16, 2009 19:49
Show Gist options
  • Save simonask/65328 to your computer and use it in GitHub Desktop.
Save simonask/65328 to your computer and use it in GitHub Desktop.
void whatever(Object* raw_ptr) {
Handle<Object> ptr = raw_ptr; // bookkeeping pointer
ptr->lals();
return;
// ptr destroyed, book kept
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment