All Questions
1 question
1
vote
1
answer
214
views
Alternatives to service locator with opaque pointer in C
I have a project in which one module keeps the state of the target device (things like current command level, but mostly status registers caches).
I'm aware that having a global public variable (...