-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark P11KitIter interface stable #589
Comments
Why would we make it no-op? I thought that when I specify something like
Is it an ABI break though? The session is opened automatically now but that shouldnt break anything. I believe that anyone who uses such iterator and manually opens the session, their program should still work. |
If we don't care about backward compatibility, we could have
What if an existing program is written in a way it manually opens a session when stopped at a token and it doesn't support parallel sessions (i.e., |
But
Alright, it breaks the ABI then. |
Well, I'm talking about using this opportunity (i.e., removing |
So my suggestion here is like this: for 0.25.1, include a compatibility measure (like #590); in the future, when we bump the SONAME, remove it and WITHOUT_OBJECTS altogether. |
Currently the P11KitIter interface is only exposed when
P11_KIT_FUTURE_UNSTABLE_API
is defined. Since the interface has been there for many years, it might make sense to declare it to be stable.A couple of things to consider before doing so:
P11_KIT_ITER_WITHOUT_OBJECTS
was added as a compatibility measure in 3d54011, as P11KitIter previously only supported enumerating objects. Maybe we could make it no-opP11_KIT_ITER_WITH_TOKENS
is specified; previously we stopped before opening a session, now we stop after that. If we consider this is an ABI break, we might want to bump SONAMEThe text was updated successfully, but these errors were encountered: