예제 #1
0
        public bool EqualsTo(NWPath other)
        {
            if (other == null)
            {
                return(false);
            }

            return(nw_path_is_equal(GetCheckedHandle(), other.Handle));
        }
예제 #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);
            }
        }
예제 #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);
            }
        }