-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
398 additions
and
163 deletions.
There are no files selected for viewing
26 changes: 0 additions & 26 deletions
26
...libtorrent/swig/SWIGTYPE_p_std__listT_boost__shared_ptrT_libtorrent__peer_plugin_t_t.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
src/com/frostwire/jlibtorrent/swig/SWIGTYPE_p_std__vectorT_pool_file_status_t.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
src/com/frostwire/jlibtorrent/swig/SWIGTYPE_p_std__vectorT_unsigned_long_long_t.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* ---------------------------------------------------------------------------- | ||
* This file was automatically generated by SWIG (http://www.swig.org). | ||
* Version 3.0.5 | ||
* | ||
* Do not make changes to this file unless you know what you are doing--modify | ||
* the SWIG interface file instead. | ||
* ----------------------------------------------------------------------------- */ | ||
|
||
package com.frostwire.jlibtorrent.swig; | ||
|
||
public class uint64_vector { | ||
private long swigCPtr; | ||
protected boolean swigCMemOwn; | ||
|
||
protected uint64_vector(long cPtr, boolean cMemoryOwn) { | ||
swigCMemOwn = cMemoryOwn; | ||
swigCPtr = cPtr; | ||
} | ||
|
||
protected static long getCPtr(uint64_vector obj) { | ||
return (obj == null) ? 0 : obj.swigCPtr; | ||
} | ||
|
||
protected void finalize() { | ||
delete(); | ||
} | ||
|
||
public synchronized void delete() { | ||
if (swigCPtr != 0) { | ||
if (swigCMemOwn) { | ||
swigCMemOwn = false; | ||
libtorrent_jni.delete_uint64_vector(swigCPtr); | ||
} | ||
swigCPtr = 0; | ||
} | ||
} | ||
|
||
public uint64_vector() { | ||
this(libtorrent_jni.new_uint64_vector(), true); | ||
} | ||
|
||
public long size() { | ||
return libtorrent_jni.uint64_vector_size(swigCPtr, this); | ||
} | ||
|
||
public long capacity() { | ||
return libtorrent_jni.uint64_vector_capacity(swigCPtr, this); | ||
} | ||
|
||
public void reserve(long n) { | ||
libtorrent_jni.uint64_vector_reserve(swigCPtr, this, n); | ||
} | ||
|
||
public boolean isEmpty() { | ||
return libtorrent_jni.uint64_vector_isEmpty(swigCPtr, this); | ||
} | ||
|
||
public void clear() { | ||
libtorrent_jni.uint64_vector_clear(swigCPtr, this); | ||
} | ||
|
||
public void add(java.math.BigInteger x) { | ||
libtorrent_jni.uint64_vector_add(swigCPtr, this, x); | ||
} | ||
|
||
public java.math.BigInteger get(int i) { | ||
return libtorrent_jni.uint64_vector_get(swigCPtr, this, i); | ||
} | ||
|
||
public void set(int i, java.math.BigInteger val) { | ||
libtorrent_jni.uint64_vector_set(swigCPtr, this, i, val); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.