oridb / mc

Myrddin Compiler
MIT License
387 stars 34 forks source link

Add convenience wrappers for atomic operations on pointers #178

Closed iriri closed 6 years ago

iriri commented 6 years ago

Felt like it would be nice to be able to perform atomic operations on pointers without having to constantly cast to and from intptr. Not 100% sure about using options for literally everything but it seems better than having to define Zptr in order to null a pointer.