moutend / go-wca

Pure golang bindings for Windows Core Audio API. The `cgo` is not required.
MIT License
108 stars 28 forks source link

Use uint64 for pointer return vars #9

Closed ThiefMaster closed 1 year ago

ThiefMaster commented 3 years ago

fixes #8

NOTE:

emarj commented 3 years ago

I confirm this works on Windows 64bit.

Maybe uintptr instead of uint64 should be more appropriate since it holds a pointer, regardless of the platform you are in:

uintptr is an integer type that is large enough to hold the bit pattern of any pointer.

https://golang.org/pkg/builtin/#uintptr

moutend commented 1 year ago

@ThiefMaster I apologize for missing your contribution. I'm really sorry about that.

Though it's too late, thank you for your contribution. :bow: