I was running into issues when using the supplied code snippet for printing to the Xcode console from iOS using swift. Most numbers were completely off, usually extremely high or negative.
It seems like the extra step for creating a CVaListPointer was messing something (not sure what) up. However, when just using info.valist directly, this works. As I do not exactly understand why this extra code was there, somebody who knows should check if my change is breaking something that I am unaware of! As I understand it, the valist in the csound message is already compatible with vsnprintf().
I deleted the corresponding mention of the now deleted extra code in the manual text, too.
I was running into issues when using the supplied code snippet for printing to the Xcode console from iOS using swift. Most numbers were completely off, usually extremely high or negative. It seems like the extra step for creating a CVaListPointer was messing something (not sure what) up. However, when just using info.valist directly, this works. As I do not exactly understand why this extra code was there, somebody who knows should check if my change is breaking something that I am unaware of! As I understand it, the valist in the csound message is already compatible with vsnprintf(). I deleted the corresponding mention of the now deleted extra code in the manual text, too.