Пример #1
0
        public static void l_amapDelete(this L_AMap m, Rb_Type key)
        {
            if (null == m ||
                null == key)
            {
                throw new ArgumentNullException("m, key cannot be null.");
            }

            Native.DllImports.l_amapDelete((HandleRef)m, (HandleRef)key);
        }
Пример #2
0
        public static void l_asetInsert(this L_ASet s, Rb_Type key)
        {
            if (null == s ||
                null == key)
            {
                throw new ArgumentNullException("s, key cannot be null.");
            }

            Native.DllImports.l_asetInsert((HandleRef)s, (HandleRef)key);
        }
Пример #3
0
        public static void l_amapInsert(this L_AMap m, Rb_Type key, Rb_Type value)
        {
            if (null == m ||
                null == key ||
                null == value)
            {
                throw new ArgumentNullException("m, key, value cannot be null.");
            }

            Native.DllImports.l_amapInsert((HandleRef)m, (HandleRef)key, (HandleRef)value);
        }
Пример #4
0
        public static Rb_Type l_amapFind(this L_AMap m, Rb_Type key)
        {
            if (null == m ||
                null == key)
            {
                throw new ArgumentNullException("m, key cannot be null.");
            }

            var pointer = Native.DllImports.l_amapFind((HandleRef)m, (HandleRef)key);

            if (IntPtr.Zero == pointer)
            {
                return(null);
            }
            else
            {
                return(new Rb_Type(pointer));
            }
        }
Пример #5
0
 public static void l_rbtreeDelete(this L_Rbtree t, Rb_Type key)
 {
     throw new NotImplementedException();
 }
Пример #6
0
 public static void l_rbtreeInsert(this L_Rbtree t, Rb_Type key, Rb_Type value)
 {
     throw new NotImplementedException();
 }
Пример #7
0
 public static Rb_Type l_rbtreeLookup(this L_Rbtree t, Rb_Type key)
 {
     throw new NotImplementedException();
 }