JNI ready for testing. -fPIC enabled for objects in src and jni.
This commit is contained in:
parent
1529c0641e
commit
106b8bb6a7
25 changed files with 954 additions and 145 deletions
15
jni/com/upstandinghackers/hammer/ParseResult.java
Normal file
15
jni/com/upstandinghackers/hammer/ParseResult.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package com.upstandinghackers.hammer;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ParseResult
|
||||
{
|
||||
public native ParsedToken getAst();
|
||||
public native long getBitLength();
|
||||
|
||||
public native void free();
|
||||
public long getInner() {return this.inner;}
|
||||
|
||||
private long inner;
|
||||
ParseResult(long inner) {this.inner=inner;}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue