You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So many of the struct members that are returned by library calls are pointers. This presents a messy problem for third-party software using the library, because we have to check for nil pointers before accessing struct members. I see little advantage to using pointers here. It adds a lot of ugly checks. It's not a massive amount of data, so I think that it would be fine to just use regular data types, not pointers to data.
Thoughts?
The text was updated successfully, but these errors were encountered:
So many of the struct members that are returned by library calls are pointers. This presents a messy problem for third-party software using the library, because we have to check for nil pointers before accessing struct members. I see little advantage to using pointers here. It adds a lot of ugly checks. It's not a massive amount of data, so I think that it would be fine to just use regular data types, not pointers to data.
Thoughts?
The text was updated successfully, but these errors were encountered: