Index: base/android/jni_generator/jni_generator.py |
diff --git a/base/android/jni_generator/jni_generator.py b/base/android/jni_generator/jni_generator.py |
index a1a654a472bbcfeefd4e2240c1138eff3fe55f8f..757714c1c9a7c773df17c277259992fa5ee359d9 100755 |
--- a/base/android/jni_generator/jni_generator.py |
+++ b/base/android/jni_generator/jni_generator.py |
@@ -408,6 +408,7 @@ def GetStaticCastForReturnType(return_type): |
'short[]': 'jshortArray', |
'int[]': 'jintArray', |
'long[]': 'jlongArray', |
+ 'float[]': 'jfloatArray', |
'double[]': 'jdoubleArray' } |
ret = type_map.get(return_type, None) |
if ret: |