forked from enlightenment/efl
[eina_js] fix: test was using wrong specification storage for array
Now the test is passing, but weird messages like the following are still happenning: CRI<26264>: lib/eina/eina_array.c:181 eina_array_accessor_clone() *** Eina Magic Check Failed at 0x1633a30 !!! Input handle is wrong type Expected: 9876123b - Eina Array Supplied: 00007f1d - (unknown) *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! I tracked these messages down to `eina_accessor_clone` function, called inside the efl::eina::accessor copy constructor. Maybe it's related to used version of the eina. Needs to rebase and investigate further.
This commit is contained in:
parent
c9f40600f0
commit
5c59f25b21
|
@ -63,7 +63,7 @@ int main(int argc, char *argv[])
|
|||
"destroy_accessor"));
|
||||
|
||||
Eina_Array *array = [](){
|
||||
int impl[2] = {42, 24};
|
||||
static int impl[2] = {42, 24};
|
||||
Eina_Array *a = eina_array_new(2);
|
||||
eina_array_push(a, impl);
|
||||
eina_array_push(a, impl+1);
|
||||
|
|
Loading…
Reference in New Issue