Pushed a commit which causes callback parameters to be passed explicitly instead of using a va_list. As this is one of the options Ondřej suggested in his last message, I think rt46718 will be good to go once someone takes one final look at it.