public static authorizer_hook_info from_ptr(IntPtr p) { GCHandle h = (GCHandle)p; authorizer_hook_info hi = h.Target as authorizer_hook_info; return(hi); }
internal static authorizer_hook_info from_ptr(IntPtr p) { GCHandle h = (GCHandle)p; authorizer_hook_info hi = h.Target as authorizer_hook_info; // TODO assert(hi._h == h) return(hi); }