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

improve foreign interface signed and unsigned integer conversion #724

Merged
merged 7 commits into from
Oct 5, 2023

Conversation

owaddell
Copy link
Contributor

@owaddell owaddell commented Oct 4, 2023

This pull request:

  • fixes a typo in the documentation
  • adds types to help cross-platform downstream projects
  • fixes bugs in Sinteger32 and Sinteger64
  • adds Stry_integer_value (and 32- and 64-bit variants) that is like Sinteger_value but returns a boolean to indicate success or failure instead of invoking longjmp via S_error1

Copy link
Contributor

@burgerrg burgerrg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for the bug fixes and useful new functions!

payneca and others added 7 commits October 5, 2023 15:10
This commit adds types such as Sint32_t and Suint64_t that downstream
code can use reliably with foreign integer conversion entry points such as
Sinteger32 and Sunsigned64. CSUG now documents these functions using the
new types instead of "<32-bit int type>", "<64-bit unsigned type>", etc.
@owaddell owaddell merged commit 629afef into cisco:main Oct 5, 2023
20 checks passed
@owaddell
Copy link
Contributor Author

owaddell commented Oct 5, 2023

Thanks for the quick review, Bob!

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.

4 participants