dstroy0 / InputHandler

Arduino input handler
https://dstroy0.github.io/InputHandler/
GNU General Public License v3.0
1 stars 0 forks source link

method/alloc type-homogenization macros #51

Closed dstroy0 closed 2 years ago

dstroy0 commented 2 years ago

Right now, it would be time consuming to customize the library allocation types along with any local variables that need to be sized for them, some macros in noedit will make that more possible.

dstroy0 commented 2 years ago

addCommand - CommandRuntimeCalc struct members are all uint8_t; calloc calls are cast to uint8_t - this is a candidate

dstroy0 commented 2 years ago

begin - _input_type_matchflags are bool but will become a bit array allocated in byte chunks

dstroy0 commented 2 years ago

got quite a bit of this started today

dstroy0 commented 2 years ago

variables auto-sized by config.h will be named by their option name in all lowercase followed with _t instead of _type