Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 (...
Martel's user avatar
  • 615