-
Notifications
You must be signed in to change notification settings - Fork 682
Improve the jerry port api documents. #4977
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 the jerry port api documents. #4977
Conversation
4f46860
to
6fe006a
Compare
b9fad14
to
c1ae526
Compare
c1ae526
to
f5003a7
Compare
@LaszloLango Any suggestion about this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of comments are removed. Why?
@@ -27,13 +27,6 @@ | |||
*/ | |||
static jerry_context_t *current_context_p = NULL; | |||
|
|||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these are removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the comments in port impl, that's easily getting to in-consistence
Those already documented in header, document twice create a lot of inconsistence, and not updated. So just leave a single copy of the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @lygstate, these comments should be place in the header file only.
Notable changes: - Remove the comments in port impl, that's easily getting to in-consistence - Sync the jerryscript-port.h and 05.PORT-API.md - Fixes the invalid comment in port codes JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
f5003a7
to
65f4057
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Notable changes:
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]