- changed status to open
Refactor write functions to use a flag instead of function pointers
Issue #15
resolved
There are a couple of functions that take a function pointer as an argument so the code can be reused between the logging and output functions. We want to avoid non-constant function pointers, so refactor this to just pass a flag to a print function depending on which output they should use. This paradigm should be used in all the output functions that might be reused.
Comments (3)
-
reporter -
reporter - changed status to resolved
Fix Issue
#15: Refactor write functions to use a flag instead of function pointers→ <<cset ae5619b7c188>>
-
reporter Now there is write_msg which takes a flag.
- Log in to comment
I started working on this. It is not a difficult task but I haven't had time to finish it.