| 417 | |
| 418 | djinni::LocalRef<jobject> newJavaFloatObject(float value) { |
| 419 | auto& cache = JavaCache::get(); |
| 420 | return cache.getFloatClass().newObject(cache.getFloatConstructorMethod(), value); |
| 421 | } |
| 422 | |
| 423 | djinni::LocalRef<jobject> newJavaDoubleObject(double value) { |
| 424 | auto& cache = JavaCache::get(); |
| 425 | return cache.getDoubleClass().newObject(cache.getDoubleConstructorMethod(), value); |
| 426 | } |
| 427 |
no test coverage detected