internal static HandleRef getCPtr(switch_core_thread_session obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }