Ignore:
Timestamp:
01/21/11 23:13:41 (9 years ago)
Author:
aivar
Message:

Added utility for dealing with native libraries.

Location:
branches/maven/projects/curve-fitter/src/main/java
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/curve-fitter/src/main/java/loci/curvefitter/SLIMCurveFitter.java

    r7292 r7575  
    4040import com.sun.jna.Native; 
    4141import com.sun.jna.Platform; 
     42 
     43import imagej.nativelibrary.NativeLibraryUtil; 
    4244 
    4345/** 
     
    139141        if (null == s_library) { 
    140142            try { 
     143                // extract to library path 
     144                System.out.println("extract native library returns " + NativeLibraryUtil.extractNativeLibraryToPath(this.getClass(), "SLIMCurve-2.0-SNAPSHOT")); 
     145                 
    141146                // load once, on-demand 
    142147                s_library = (CLibrary) Native.loadLibrary("SLIMCurve", CLibrary.class); 
Note: See TracChangeset for help on using the changeset viewer.