Erwan Jahier
authored
Indeed, in order to copy an array, I used to generate something like memcpy(out, in, sizeof(in)); but if 'out' and 'in' are arrays, and if 'in' is an argument of a function, sizeof() considers it as a pointer, not an array !!!! note that if 'in' is a local var, sizeof(in) works fine. To fix it, I use the type of the dest (instead of the id) as argument of sizeof. nb : The pb never occured before, as in the heap mode only the ctx is passed a args of step functions.
Name | Last commit | Last update |
---|---|---|
.. | ||
config | ||
lus2lic.tests | ||
should_fail | ||
should_work | ||
to_sort | ||
Makefile | ||
Makefile.dist | ||
board_triglav.exp | ||
lus2lic | ||
lus2lic.log.ref | ||
lus2lic.sum | ||
lus2lic.time | ||
myec2c | ||
site.exp |