Closed TotallyGamerJet closed 1 year ago
I'm gonna sleep soon so I'll take a look tomorrow. Good night...
By the way, Does a callback work even if this mixes float32 and float64 as this arguments?
Yes! I added a test for that case (TestNewCallbackFloat32AndFloat64)
This commit adds support for float32 and float64 arguments in C callbacks. It also adds a test to check the maximum number of arguments a callback can have and that it is callback properly by purego. There is also some formatting done to the assembly.