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

mavsdk_server: document and fixup C API #2499

Merged
merged 1 commit into from
Jan 26, 2025
Merged

mavsdk_server: document and fixup C API #2499

merged 1 commit into from
Jan 26, 2025

Conversation

julianoes
Copy link
Collaborator

@julianoes julianoes commented Jan 25, 2025

This adds docstrings to the C API and changes the return value of mavsdk_server_run as you would expect a C API, wich 0 being successful.

Closes #2479.

This will require an update for MAVSDK-Java when switching to v3.x: https://github.com/mavlink/MAVSDK-Java/blob/b880fd2dfb01fa868bd9dcbffe222e4408bd3218/mavsdk_server/src/main/cpp/native-lib.cpp#L25

This adds docstrings to the D API and changes the return value of
mavsdk_server_run as you would expect a C API, wich 0 being successful.
Copy link

@julianoes julianoes merged commit 0dba503 into main Jan 26, 2025
40 checks passed
@julianoes julianoes deleted the pr-c-api branch January 26, 2025 20:05
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.

Make mavsdk_server API consistent
2 participants