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

Add minor fixes to the C++ code. #50

Merged
merged 3 commits into from
Aug 30, 2023
Merged

Add minor fixes to the C++ code. #50

merged 3 commits into from
Aug 30, 2023

Conversation

iddm
Copy link
Collaborator

@iddm iddm commented Aug 30, 2023

  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.

@iddm iddm self-assigned this Aug 30, 2023
@iddm iddm mentioned this pull request Aug 30, 2023

/* Opaque struct representing a v8 interpreter.
/** An opaque struct representing a v8 platform. */
typedef struct v8_platform v8_platform;
Copy link
Contributor

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.


return 1;
}

v8_platform* v8_NewPlatform(const int thread_pool_size) {
Copy link
Contributor

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@iddm iddm force-pushed the add-inspector-api branch 2 times, most recently from 74fa5c5 to 2048e4c Compare August 30, 2023 07:45
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.
Copy link
Contributor

@MeirShpilraien MeirShpilraien left a comment

Choose a reason for hiding this comment

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

👍

@iddm iddm merged commit f3f45da into master Aug 30, 2023
2 checks passed
@iddm iddm deleted the add-inspector-api branch August 30, 2023 07:52
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