diff src/getset.cpp @ 18:530bf5009ee2

Pull out Feature to a separate file; JNI doesn't seem to be able to find its constructor otherwise. Also a couple of other fixes
author Chris Cannam
date Tue, 07 Feb 2012 12:12:36 +0000
parents f7ca3afb429c
children c9515589be7d
line wrap: on
line diff
--- a/src/getset.cpp	Mon Feb 06 18:01:58 2012 +0000
+++ b/src/getset.cpp	Tue Feb 07 12:12:36 2012 +0000
@@ -69,7 +69,7 @@
 {
     jfloatArray jarr = env->NewFloatArray(values.size());
     env->SetFloatArrayRegion(jarr, 0, values.size(), values.data());
-    setObjectField(env, obj, name, "[float", jarr);
+    setObjectField(env, obj, name, "[F", jarr);
 }
 
 void