Searched refs:JTypeTraits (Results 1 – 1 of 1) sorted by relevance
28 template <typename T> struct JTypeTraits;30 template <> struct JTypeTraits<jintArray> { struct41 template <> struct JTypeTraits<jbyteArray> { argument52 template <> struct JTypeTraits<jstring> { argument72 using element_type = typename JTypeTraits<T>::element_type; argument73 using array_type = typename JTypeTraits<T>::array_type;80 buffer_ = (env_->*JTypeTraits<T>::getArrayElements)(jarray, nullptr); in JArray()104 size_t size() const { return (env_->*JTypeTraits<T>::getArrayLength)(jarray_); } in size()114 (env_->*JTypeTraits<T>::releaseArrayElements)(jarray_, buffer_, 0); in ~JArray()120 (env_->*JTypeTraits<jstring>::releaseArrayElements)(jarray_, buffer_); in ~JArray()