21 #ifndef ndbjtie_defs_hpp
22 #define ndbjtie_defs_hpp
25 #include "ndb_types.h"
28 #include "helpers.hpp"
32 #define JTIE_JNI_SHORT_T jshort
33 #define JTIE_JNI_INT_T jint
34 #define JTIE_JNI_LONG_T jint
35 #define JTIE_JNI_LONGLONG_T jlong
36 #define JTIE_JNI_LONGDOUBLE_T jdouble
37 #include "jtie_tconv_vwidth.hpp"
44 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jbyte, Int8, Int8 )
45 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jbyte, Uint8, Uint8 )
46 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jshort, Int16, Int16 )
47 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jshort, Uint16, Uint16 )
48 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jint, Int32, Int32 )
49 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jint, Uint32, Uint32 )
50 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jlong, Int64, Int64 )
51 JTIE_DEFINE_BASIC_TYPE_MAPPING_SET( jlong, Uint64, Uint64 )
55 # define NDBJTIE_USE_WRAPPED_VARIANT_FOR_CONST_OVERLOADED_FUNCTION 1
56 # define NDBJTIE_USE_WRAPPED_VARIANT_FOR_OVERLOADED_FUNCTION 1
57 # define NDBJTIE_USE_WRAPPED_VARIANT_FOR_FUNCTION 1
62 #if defined(__SUNPRO_CC)
64 # define NDBJTIE_USE_WRAPPED_VARIANT_FOR_CONST_OVERLOADED_FUNCTION 1
71 # define NDBJTIE_USE_WRAPPED_VARIANT_FOR_OVERLOADED_FUNCTION 1
72 # define NDBJTIE_USE_WRAPPED_VARIANT_FOR_CONST_OVERLOADED_FUNCTION 1
79 #define JTIE_OBJECT_CLEAR_ADDRESS_UPON_DELETE 1
83 #endif // ndbjtie_defs_hpp