Ejemplo n.º 1
0
 public boolean executeAlgorithm(
     String name, ExternalAlgorithmData data, ExternalContext context) {
   byte rc =
       s_lib.CExternalEntry_executeAlgorithm(
           name, JnaExternalAlgorithmData.toNative(data), JnaExternalContext.toNative(context));
   return rc == 1;
 }
Ejemplo n.º 2
0
 public ExternalAlgorithmData cloneAlgorithmData(ExternalAlgorithmData data) {
   return JnaExternalAlgorithmData.fromNative(
       s_lib.CExternalEntry_cloneAlgorithmData(JnaExternalAlgorithmData.toNative(data)));
 }