-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add minor fixes to the C++ code. #50
Conversation
iddm
commented
Aug 30, 2023
- Changes the C++ comments so that those are properly recognised by bindgen and it generates Rust doc-comments for those in the bindings.
- Fixes a few typos.
- Makes sure the correct data slot is used for by introducing special macros.
- Corrects indentation.
v8_c_api/src/v8_c_api.h
Outdated
|
||
/* Opaque struct representing a v8 interpreter. | ||
/** An opaque struct representing a v8 platform. */ | ||
typedef struct v8_platform v8_platform; |
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.
Follow slack discussion, lets remove it.
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.
Done.
v8_c_api/src/v8_c_api.cpp
Outdated
|
||
return 1; | ||
} | ||
|
||
v8_platform* v8_NewPlatform(const int thread_pool_size) { |
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.
Follow slack discussion, lets remove it.
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.
Done.
74fa5c5
to
2048e4c
Compare
1. Changes the C++ comments so that those are properly recognised by bindgen and it generates Rust doc-comments for those in the bindings. 2. Fixes a few typos. 3. Makes sure the correct data slot is used for by introducing special macros. 4. Corrects indentation.
2048e4c
to
eda8342
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.
👍