Update bindings-generator to handle pointer return types.