tarzanking / javacpp

Automatically exported from code.google.com/p/javacpp
GNU General Public License v2.0
0 stars 0 forks source link

Pointer.address() #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add Pointer.address().
I need this for modifying pointer address.

Code is this.

public long address() {
    return address;
}
public Pointer address(long address) {
    this.address = address;
    return this;
}

Original issue reported on code.google.com by yukoba on 3 Oct 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Just create a subclass of Pointer that does this and create an instance of that 
class with the other Pointer.

Original comment by samuel.a...@gmail.com on 4 Oct 2012 at 1:20