@snacks @Suiseiseki i mean, you can always do bad and worse things, say you do not have to return a struct or pointer or rather not want to return either of those, you can return an array or do something worse and return your 2 values inside a string with a field separator, that was you get the added fun of iterating over the string to find the field separator, split the string and re-cast the 2 values from string to their canonic types.