Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve internal register API #699
A while ago I checked in the file
Essentially it is kinda analogous to what
The idea is that we can unify all of the "get_xxx_register" functions to always return a
The example I have checked in needs some work as it is clunky and requires a state object. I think a pointer can be even better and avoid this requirement. I think we don't even really have to worry about alignment issues since the underlying structures that we'd be pointing to would require that the data members be aligned.