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
Fix translation of nullptr creation and comparison (#81)
This PR translates default pointers using `GetDefaultAsString`,
resulting in `Ptr::<T>::null()` being generated instead of
`Default::default()`. This is useful for contexts where
`Default::default()` cannot be correctly deduced as a `Ptr`.
Pointer comparisson is also fixed to allow C NULL comparissons such as
`p != NULL` or `p != 0`.
0 commit comments