%{
/* csharp/local_util.i: the CLucene scripting csharp interface helpers.
 *
 */
%}
%module CLjava

%apply char { TCHAR };
#undef TCHAR
#define TCHAR char //todo: currently wchar_t is not very well done in csharp

#undef size_t
#define size_t long

//%apply unsigned char { uint8_t };
%typemap(jtype) float_t "float"
%typemap(jstype) float_t "float"
%typemap(jtype) uint8_t "byte"
%typemap(jstype) uint8_t "byte"

%include various.i //java string array support
%apply char **STRING_ARRAY { char ** };


%typemap(jtype) TESTING "xxxx"
%apply TESTING { lucene::document::Document::getBoost }
