Open minovations opened 9 years ago
I think it is wrong for CONFIGURATION_ACTIVE_MASK_SERIE
to provide a Tree pointer. The macro implies a Serie
and not a Tree
.
Where is it set to a Tree pointer? I can't find any occurrence.
As for a coding standard. I'd like to see a namespaced standard like:
{Library name without "lib" prefix}_{function name} ();
Example:
viewer_set_active_layer (); // Located in libviewer
memory_load_file (); // Located in libmemory
I want to discuss the coding standard in clmedview. It happens to much that wrong types are mixed and that code won't work. A little example
This looks alright, but "CONFIGURATION_ACTIVE_MASK_SERIE" is returning a tree pointer and not a serie pointer.
Therefore I want to create a convention of naming functions, types, variables, macros. If someone has a proposal, please let me know.