nats-io / nats.c

A C client for NATS
Apache License 2.0
384 stars 134 forks source link

[FIXED] Missing NATS_EXTERN in nats.h for some functions. #715

Closed kozlovic closed 7 months ago

kozlovic commented 7 months ago

This is important for Windows platform.

I also fixed a cast issue in util.c (that was reported on Windows build). Some changes are also related to spaces at end of lines that were removed by my editor.

Resolves #714

Signed-off-by: Ivan Kozlovic ivan@synadia.com

kozlovic commented 7 months ago

what (auto-)formatter do you use? So I can sync up my settings?

@levb I am using VS Code, and in the Settings/Text Editor/Files, I have "Trim Trailing Whitespace" checkbox checked.