示例#1
0
        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);
        }
示例#2
0
 public static void uplink_free_bucket(UplinkBucket bucket)
 {
     storj_uplinkPINVOKE.uplink_free_bucket(UplinkBucket.getCPtr(bucket));
 }
示例#3
0
 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);
 }