Exemple #1
0
        public static log_hook_info from_ptr(IntPtr p)
        {
            GCHandle      h  = (GCHandle)p;
            log_hook_info hi = h.Target as log_hook_info;

            return(hi);
        }
Exemple #2
0
        internal static log_hook_info from_ptr(IntPtr p)
        {
            GCHandle      h  = (GCHandle)p;
            log_hook_info hi = h.Target as log_hook_info;

            // TODO assert(hi._h == h)
            return(hi);
        }