nanohub: Fix error in HAL definition

HAL info structure can not have pointers
Ideally this would become variable sized array,
but JNI is expecting fixed-size array here,
so, define reasonable size (2), which fits all the
known cases.

Change-Id: I1752d5bef9db60570b03a8dc8e54da2277aca95a
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
This commit is contained in:
Alexey Polyudov 2016-04-14 10:28:35 -07:00
parent c331570b5a
commit ed7197e358

View file

@ -138,7 +138,7 @@ struct hub_app_info {
struct hub_app_name_t app_name; struct hub_app_name_t app_name;
uint32_t version; uint32_t version;
uint32_t num_mem_ranges; uint32_t num_mem_ranges;
const struct mem_range_t *mem_usage; struct mem_range_t mem_usage[2]; // Apps could only have RAM and SHARED_DATA
}; };
/** /**