register_param(&m_barSize, F0R_PARAM_DOUBLE, "barSize", "Size of the black bar");
register_param(&m_pointerMethod, F0R_PARAM_BOOL, "pointerMethod", "Pointer Method (internal)");
I prefer the second version because most plugins already use f0r_param_bool for the boolean params and the calls to register_param could be changed mechanically.
For example, tutorial.cpp has this code:
Because f0r_param_bool is of type 'double', the wrong register_param function is called for m_pointerMethod.
I see two ways of fixing this without breaking external API/ABI compatibility.
and change the calls in tutorial.cpp:
I prefer the second version because most plugins already use f0r_param_bool for the boolean params and the calls to register_param could be changed mechanically.