21 #ifndef jtie_tconv_refbybb_impl_hpp
22 #define jtie_tconv_refbybb_impl_hpp
27 #include "jtie_tconv_refbybb.hpp"
28 #include "jtie_tconv_impl.hpp"
29 #include "jtie_tconv_ptrbybb_impl.hpp"
30 #include "jtie_tconv_utils_impl.hpp"
31 #include "helpers.hpp"
51 const char * c =
"java/lang/IllegalArgumentException";
52 const char * m = (
"JTie: java.nio.ByteBuffer cannot be null"
53 " when mapped to an object reference type"
54 " (file: " __FILE__
")");
55 registerException(env, c, m);
63 template<
typename J,
typename C >
68 TRACE(
"C & ByteBufferRefParam.convert(cstatus &, jtie_j_n_ByteBuffer, JNIEnv *)");
74 if (ensureNonNullBuffer(j, env) != 0) {
78 assert(s != 0 || c != NULL);
85 TRACE(
"void ByteBufferRefParam.release(C &, jtie_j_n_ByteBuffer, JNIEnv *)");
90 template<
typename J,
typename C >
93 convert(C & c, JNIEnv * env) {
94 TRACE(
"J * ByteBufferRefResult.convert(C &, JNIEnv *)");
110 template<
typename C >
113 template<
typename C >
119 #endif // jtie_tconv_refbybb_impl_hpp