Skip to content

[docs] Fix minor issues in embind.rst - #28523

Open
juj wants to merge 1 commit into
emscripten-core:mainfrom
juj:docs_embind_minor_fixes
Open

juj wants to merge 1 commit into
emscripten-core:mainfrom
juj:docs_embind_minor_fixes

Conversation

@juj

@juj juj commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator
  • Add missing 'public:' to the factory-function constructor and automatic downcasting examples; without it the examples fail to compile (private member function / private destructor).
  • Use a javascript code-block for the JavaScript usage snippet that was marked as cpp.
  • Move the misplaced embind-memory-view label from 'Class Properties' to the 'Memory views' section it names.
  • Use '--emit-tsd' as the link text instead of the deprecated 'embind-emit-tsd' name.
  • Replace hard tabs with spaces in the value_object example.

- Add missing 'public:' to the factory-function constructor and automatic
  downcasting examples; without it the examples fail to compile (private
  member function / private destructor).
- Use a javascript code-block for the JavaScript usage snippet that was
  marked as cpp.
- Move the misplaced embind-memory-view label from 'Class Properties' to the
  'Memory views' section it names.
- Use '--emit-tsd' as the link text instead of the deprecated
  'embind-emit-tsd' name.
- Replace hard tabs with spaces in the value_object example.
@juj
juj requested a review from brendandahl as a code owner December 2, 2026 12:46

This branch has not been deployed

No deployments
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.

1 participant