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 Doxygen comments in n_request.c. #80

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

haydenroche5
Copy link
Collaborator

Also, make them all conform to the same style.

This is a step toward generating the API docs for note-c. I'll tackle the other source files next, and eventually will come up with a scheme for generating and publishing the docs somewhere.

@haydenroche5 haydenroche5 self-assigned this Jun 15, 2023
n_request.c Outdated Show resolved Hide resolved
n_request.c Show resolved Hide resolved
@haydenroche5
Copy link
Collaborator Author

@zfields changed /** to /*!.

@zfields
Copy link
Collaborator

zfields commented Sep 23, 2023

Can you resolve the conflicts now that we've reworked a bunch of stuff?

@haydenroche5
Copy link
Collaborator Author

Can you resolve the conflicts now that we've reworked a bunch of stuff?

Yep. Should be good to go now.

Copy link
Collaborator

@zfields zfields left a comment

Choose a reason for hiding this comment

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

Approved with comments.

n_request.c Outdated Show resolved Hide resolved
n_request.c Outdated Show resolved Hide resolved
n_request.c Outdated Show resolved Hide resolved
n_request.c Outdated Show resolved Hide resolved
n_request.c Show resolved Hide resolved
n_request.c Show resolved Hide resolved
n_request.c Show resolved Hide resolved
n_request.c Outdated Show resolved Hide resolved
*/
/**************************************************************************/
@brief Check to see if a Notecard error is present in a JSON string.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Only Notecard errors enclosed in {} (e.g. {io} for an I/O error) are guaranteed by the API.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I was hoping you would fashion that into the long description, similar to NoteErrorClean() below.

FWIW, I normally throw @notes at the bottom, not that it matters.

n_request.c Show resolved Hide resolved
*/
/**************************************************************************/
@brief Check to see if a Notecard error is present in a JSON string.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I was hoping you would fashion that into the long description, similar to NoteErrorClean() below.

FWIW, I normally throw @notes at the bottom, not that it matters.

Also, make them all conform to the same style.
@haydenroche5 haydenroche5 merged commit e59cf1b into blues:master Oct 2, 2023
6 checks passed
@haydenroche5 haydenroche5 deleted the docs branch October 2, 2023 17:57
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.

2 participants