Skip to content

libssh2_userauth_publickey_sk.md: say LIBSSH2_ALLOC_FUNC (was: SSH2_ALLOC) - #2660

Closed
vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:custom-alloc1
Closed

vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:custom-alloc1

Conversation

@vszakats

@vszakats vszakats commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

SSH2_ALLOC() (or formerly LIBSSH2_ALLOC()) is an internal macro, not
available for API users. Mention LIBSSH2_ALLOC_FUNC instead to refer
to the custom allocator set via libssh2_session_init_ex(). If no
custom allocator was set, it means the default system allocator.

Follow-up to ed439a2 #698

… `SSH2_ALLOC`)

`SSH2_ALLOC()` (or formerly `LIBSSH2_ALLOC()`) is an internal macro, not
available for API users. Mention `LIBSSH2_ALLOC_FUNC` instead to refer
to the custom allocator set via `libssh2_session_init_ex()`. If no
custom allocator was set, it means the standard allocator.

Follow-up to ed439a2 libssh2#698
@vszakats vszakats changed the title docs/libssh2_userauth_publickey_sk.md: say LIBSSH2_ALLOC_FUNC (was: SSH2_ALLOC) libssh2_userauth_publickey_sk.md: say LIBSSH2_ALLOC_FUNC (was: SSH2_ALLOC) Oct 7, 2026
@vszakats vszakats closed this in 77e54d8 Oct 7, 2026
@vszakats
vszakats deleted the custom-alloc1 branch October 7, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant