Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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));
            }
        }
Esempio n. 5
0
 public static void l_rbtreeDelete(this L_Rbtree t, Rb_Type key)
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 public static void l_rbtreeInsert(this L_Rbtree t, Rb_Type key, Rb_Type value)
 {
     throw new NotImplementedException();
 }
Esempio n. 7
0
 public static Rb_Type l_rbtreeLookup(this L_Rbtree t, Rb_Type key)
 {
     throw new NotImplementedException();
 }