I'm way into unknown territory here and web search hasn't been helpful, but I'm trying to pass a value back to a C function that I can later use as a lookup key on subsequent calls where all I get is my returned pointer.
I was hoping to stuff the bytes of an enum UInt32 rawValue into the pointer I have to return. The closest I came is allocating my own buffer and using a pointer to that, which should work I guess. And maybe this is "cleaner"/safer.