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

[FIXED] Added missing NATS_EXTERN on some functions. #836

Merged
merged 1 commit into from
Feb 16, 2025
Merged

[FIXED] Added missing NATS_EXTERN on some functions. #836

merged 1 commit into from
Feb 16, 2025

Conversation

kozlovic
Copy link
Member

Namely nats_OpenWithConfig and natsConnection_Reconnect.

Also normalized the NATS_EXTERN <return type> in one line and the function name on the next line.

Updated the C++ compile test since it was failing on my mac env, and modified nats_StringEquals that was triggering a warning on my Windows VM build.

Resolves #835

Signed-off-by: Ivan Kozlovic [email protected]

Namely `nats_OpenWithConfig` and `natsConnection_Reconnect`.

Also normalized the `NATS_EXTER <return type>` in one line and
the function name on the next line.

Updated the C++ compile test since it was failing on my mac env,
and modified `nats_StringEquals` that was triggering a warning
on my Windows VM build.

Resolves #835

Signed-off-by: Ivan Kozlovic <[email protected]>
@kozlovic kozlovic requested a review from levb February 12, 2025 17:47
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.45%. Comparing base (1553d4a) to head (1c7535d).
Report is 38 commits behind head on main.

Files with missing lines Patch % Lines
src/natsp.h 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #836      +/-   ##
==========================================
+ Coverage   68.71%   70.45%   +1.74%     
==========================================
  Files          39       47       +8     
  Lines       15207    15389     +182     
  Branches     3143     3155      +12     
==========================================
+ Hits        10449    10843     +394     
+ Misses       1700     1509     -191     
+ Partials     3058     3037      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@levb levb left a comment

Choose a reason for hiding this comment

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

LGTM

@levb levb merged commit b04bf34 into main Feb 16, 2025
30 checks passed
@levb levb deleted the fix_835 branch February 16, 2025 15:34
github-actions bot pushed a commit that referenced this pull request Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should natsConnection_Reconnect() be used?
2 participants