32 #ifndef _INCLUDE_SOURCEMOD_AUTO_HANDLE_ROOTER_H_
33 #define _INCLUDE_SOURCEMOD_AUTO_HANDLE_ROOTER_H_
43 this->hndl = handlesys->FastCloneHandle(hndl);
52 HandleSecurity sec(g_pCoreIdent, g_pCoreIdent);
53 handlesys->FreeHandle(hndl, &sec);
72 : original(original), sec(sec), ahr(original)
80 handlesys->FreeHandle(original, &sec);
86 return ahr.getHandle();
Defines the interface for creating, reading, and removing Handles.
#define BAD_HANDLE
Definition: IHandleSys.h:62
Definition: AutoHandleRooter.h:65
Definition: AutoHandleRooter.h:37