public static int l_amapSize(this L_AMap m) { if (null == m) { throw new ArgumentNullException("pm cannot be null"); } return(Native.DllImports.l_amapSize((HandleRef)m)); }
public static int amapGetCountForColor(this L_AMap amap, uint val) { if (null == amap) { throw new ArgumentNullException("amap cannot be null"); } return Native.DllImports.amapGetCountForColor((HandleRef)amap, val); }
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); }
public static void l_amapDestroy(this L_AMap pm) { if (null == pm) { throw new ArgumentNullException("pm cannot be null"); } var pointer = (IntPtr)pm; Native.DllImports.l_amapDestroy(ref pointer); }
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); }
public static L_AMap_Node l_amapGetFirst(this L_AMap m) { if (null == m) { throw new ArgumentNullException("m cannot be null."); } var pointer = Native.DllImports.l_amapGetFirst((HandleRef)m); if (IntPtr.Zero == pointer) { return(null); } else { return(new L_AMap_Node(pointer)); } }
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)); } }