public static int l_asetSize(this L_ASet s) { if (null == s) { throw new ArgumentNullException("s cannot be null"); } return(Native.DllImports.l_amapSize((HandleRef)s)); }
public static void l_asetDelete(this L_ASet s, Rb_Type key) { if (null == s || null == key) { throw new ArgumentNullException("m, key cannot be null."); } Native.DllImports.l_asetDelete((HandleRef)s, (HandleRef)key); }
public static void l_asetDestroy(this L_ASet ps) { if (null == ps) { throw new ArgumentNullException("ps cannot be null"); } var pointer = (IntPtr)ps; Native.DllImports.l_asetDestroy(ref pointer); }
public static L_ASet_Node l_asetGetLast(this L_ASet s) { if (null == s) { throw new ArgumentNullException("s cannot be null."); } var pointer = Native.DllImports.l_asetGetLast((HandleRef)s); if (IntPtr.Zero == pointer) { return(null); } else { return(new L_ASet_Node(pointer)); } }
public static Rb_Type l_asetFind(this L_ASet s, Rb_Type key) { if (null == s || null == key) { throw new ArgumentNullException("s, key cannot be null."); } var pointer = Native.DllImports.l_asetFind((HandleRef)s, (HandleRef)key); if (IntPtr.Zero == pointer) { return(null); } else { return(new Rb_Type(pointer)); } }