java: Changed size_t and unsigned int to int in array declarations. Renamed buf to buffer where necesarry. Moved most Java array typemaps to java_buffer.i. Fixed some String buffers.

Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>

Conflicts:
	src/upm.i
This commit is contained in:
Petre Eftime
2015-09-07 19:00:30 +03:00
committed by Mihai Tudor Panu
parent ab730038fd
commit 2cab79b4c2
50 changed files with 237 additions and 326 deletions

View File

@ -6,18 +6,6 @@
%apply signed char[] {uint8_t []};
%{
#include "lcd.h"
#include "ssd.h"
#include "ssd1327.h"
#include "ssd1308.h"
#include "eboled.h"
#include "lcm1602.h"
#include "jhd1313m1.h"
#include "sainsmartks.h"
%}
%typemap(jni) (uint8_t *data, int bytes) "jbyteArray";
%typemap(jtype) (uint8_t *data, int bytes) "byte[]";
%typemap(jstype) (uint8_t *data, int bytes) "byte[]";
@ -33,6 +21,17 @@
JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
}
%{
#include "lcd.h"
#include "ssd.h"
#include "ssd1327.h"
#include "ssd1308.h"
#include "eboled.h"
#include "lcm1602.h"
#include "jhd1313m1.h"
#include "sainsmartks.h"
%}
%include "lcd.h"
%include "ssd.h"
%include "ssd1327.h"