Oh, I see. Thanks for explanation. How about change the approach for writing the wrapper? So instead of changing the supplied value, the procs return value so users would immediately know the return type.
However I do understand, it's easier for people who already knows GTK can immediately use your wrapper if the wrapper is about same with the original proc.
