MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrimArrayConvImpl< JA, J, C, GET, REL, NEW, SET > Struct Template Reference

#include <jtie_tconv_array_impl.hpp>

Static Public Member Functions

static C * getArrayElements (JNIEnv *env, JA j, jboolean *isCopy)
static void releaseArrayElements (JNIEnv *env, JA j, const C *c, jint mode)
static JA newArray (JNIEnv *env, jsize len, const C *c)

Detailed Description

template<typename JA, typename J, typename C, J *(JNIEnv::*)(JA, jboolean *) GET, void(JNIEnv::*)(JA, J *, jint) REL, JA(JNIEnv::*)(jsize) NEW, void(JNIEnv::*)(JA, jsize, jsize, const J *) SET>
struct PrimArrayConvImpl< JA, J, C, GET, REL, NEW, SET >

Implements ArrayConv on primitive array types.

The JNI headers, but not the spec, of JDKs >= 1.4 declare the last parameter of Set<Jtype>ArrayRegion(..., const J *) correctly as const

Definition at line 160 of file jtie_tconv_array_impl.hpp.


The documentation for this struct was generated from the following file: