While browsing though the source, I found that in lv_conf.h there are a few #defines
whose point is to enable/disable check on parameters. The question is: which functions have their parameters checked?
Which ones do you mean exactly?
Hi,
If it is the defines, I meant those: https://github.com/littlevgl/lvgl/blob/master/lv_conf_template.h#L259
So my question is, which functions benefit from these checks?
All asserts (except LV_ASSERT_MEM
) are used in the beginning of the API functions. You can check it in the source code.
LV_ASSERT_MEM
is used when memory is allocated inside the library.