public static UplinkBucket uplink_bucket_iterator_item(UplinkBucketIterator iterator) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_bucket_iterator_item(UplinkBucketIterator.getCPtr(iterator)); UplinkBucket ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkBucket(cPtr, false); return(ret); }
public static void uplink_free_bucket(UplinkBucket bucket) { storj_uplinkPINVOKE.uplink_free_bucket(UplinkBucket.getCPtr(bucket)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkBucket obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }