Skip to content
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

Change sizes in the API to use a libssh2_size_t #29

Closed
eschaton opened this issue Jun 24, 2015 · 1 comment
Closed

Change sizes in the API to use a libssh2_size_t #29

eschaton opened this issue Jun 24, 2015 · 1 comment
Labels

Comments

@eschaton
Copy link

Because it's already widely deployed, libssh2 can't just switch its APIs to use size_t and ssize_t without breaking binary compatibility. However, it could define a couple of new types (like libssh2_size_t and libssh2_ssize_t) and use them instead. Whether these are defined in a binary-compatible way or defined as covers for size_t and ssize_t could be a confiruration option.

The latter would be useful to those embedding libssh2 who don't have to worry about binary compatibility, it would also allow building it with the system size_t locally just to run tests, and finally it would allow new platforms that don't yet have binary compatibility restrictions to use the proper types.

@stale
Copy link

stale bot commented Mar 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 21, 2019
@stale stale bot closed this as completed Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant