mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 02:41:14 +03:00
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:

committed by
Mihai Tudor Panu

parent
ab730038fd
commit
2cab79b4c2
@ -93,7 +93,7 @@ namespace upm {
|
||||
* @param len Number of bytes to write
|
||||
* @return mraa::Result
|
||||
*/
|
||||
mraa::Result writeBytes(uint8_t reg, uint8_t *buffer, unsigned int len);
|
||||
mraa::Result writeBytes(uint8_t reg, uint8_t *buffer, int len);
|
||||
|
||||
/**
|
||||
* Reads value(s) from registers
|
||||
@ -102,7 +102,7 @@ namespace upm {
|
||||
* @param buffer Buffer for data storage
|
||||
* @param len Number of bytes to read
|
||||
*/
|
||||
void readBytes(uint8_t reg, uint8_t *buffer, unsigned int len);
|
||||
int readBytes(uint8_t reg, uint8_t *buffer, int len);
|
||||
|
||||
/**
|
||||
* Button states
|
||||
|
Reference in New Issue
Block a user