Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
Explicitly load libraries. Closes #105.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmtheis committed Aug 6, 2015
1 parent 508e1d3 commit ab1b1c8
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
public class AdaptiveMap {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
public class Binarize {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Box.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*/
public class Box {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Boxa.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*/
public class Boxa {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Clip.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/
public class Clip {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Convert.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
public class Convert {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Edge.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
public class Edge {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Enhance.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
public class Enhance {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

public class GrayQuant {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/JpegIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*/
public class JpegIO {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
public class MorphApp {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Pix.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/
public class Pix {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Pixa.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*/
public class Pixa implements Iterable<Pix> {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*/
public class ReadFile {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Rotate.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
public class Rotate {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Scale.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
public class Scale {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
1 change: 1 addition & 0 deletions tess-two/src/com/googlecode/leptonica/android/Skew.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
public class Skew {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/
public class WriteFile {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

public class PageIterator {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
System.loadLibrary("tess");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
*/
public class ResultIterator extends PageIterator {
static {
System.loadLibrary("png");
System.loadLibrary("lept");
System.loadLibrary("tess");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class TessBaseAPI {
private long mNativeData;

static {
System.loadLibrary("png");
System.loadLibrary("lept");
System.loadLibrary("tess");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class TessPdfRenderer {
private final long mNativePdfRenderer;

static {
System.loadLibrary("png");
System.loadLibrary("lept");
System.loadLibrary("tess");
}

Expand Down

0 comments on commit ab1b1c8

Please sign in to comment.