GnuTLS | mem, str, datum: rename _steal_* to _take_* (!2085)
Read-only notification of GnuTLS library development activities <[email protected]> Thu, 26 Mar 2026 11:04:35 +0000
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
Daiki Ueno created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/2085 Project:Branches: dueno/gnutls:wip/dueno/utils to gnutls/gnutls:master Author: Daiki Ueno <!-- Add a description of the new feature/bug fix. Reference any relevant bugs. --> While the name of `_gnutls_steal_*` functions was inspired by GLib's `g_steal_*` family, it doesn't seem to be intuitive at first glance, possibly because of the negative meaning of the word "steal". Let's call it `_gnutls_take_*`, following the example of `TAKE_*` macros in systemd and `Option::take` in Rust. Also make `_gnutls_take_pointer` takes a `void *` instead of `void **` with necessary type checking with typeof, if available. ## Checklist * [x] Commits have `Signed-off-by:` with name/author being identical to the commit author * [ ] Code modified for feature * [ ] Test suite updated with functionality tests * [ ] Test suite updated with negative tests * [ ] Documentation updated / NEWS entry present (for non-trivial changes) ## Reviewer's checklist: * [ ] Any issues marked for closing are addressed * [ ] There is a test suite reasonably covering new functionality or modifications * [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md` * [ ] This feature/change has adequate documentation added * [ ] No obvious mistakes in the code -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2085 You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-abb3hk8ei4l5s5e4l488gw8cp/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help _______________________________________________ Gnutls-devel mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-devel