Closed kdschlosser closed 8 months ago
Hi @kdschlosser, thank you for pointing out these problems.
Could you please open a PR instead of an issue for this?
This would make it easier for us to review your suggested changes and test them.
If you can, it could also be useful to know what C code you processed with the script, that brought up each of these problems.
I didn't have to run the script to see the errors.
if is_obj:
ctor_func = get_ctor(obj_name)
try:
gen_mp_func(ctor_func, obj_name)
except MissingConversionException as exp:
gen_func_error(cctor_func, exp)
there is no cctor_func declared anywhere. but there is a ctor_func variable that has been declared. see the code above.
The same goes for the other typo I pointed out. They are simple typos is all and it may not cause an issue now but it could in the future,
Just thought I would let you know.
Hello!
name
typo will be fixed in PR: https://github.com/lvgl/lv_binding_micropython/pull/298cctor_func
typo is already fixed
function
get_arg_name
on line 2033 has an error on line 2037I believe should read
and function
gen_obj
on line 2501 has an error in the function on line 2520should read