Esempio n. 1
0
        public bool EqualsTo(NWPath other)
        {
            if (other == null)
            {
                return(false);
            }

            return(nw_path_is_equal(GetCheckedHandle(), other.Handle));
        }
Esempio n. 2
0
        static void TrampolinePathChanged(IntPtr block, IntPtr path)
        {
            var del = BlockLiteral.GetTarget <Action <NWPath> > (block);

            if (del != null)
            {
                var x = new NWPath(path, owns: false);
                del(x);
            }
        }
Esempio n. 3
0
        static void TrampolineUpdatedSnapshot(IntPtr block, IntPtr path)
        {
            var del = BlockLiteral.GetTarget <Action <NWPath> > (block);

            if (del != null)
            {
                var nwPath = new NWPath(path, owns: false);
                del(nwPath);
            }
        }