Skip to content

doc: use ffi.suffix for library paths in examples - #64805

Open
ganjanggejang wants to merge 1 commit into
nodejs:mainfrom
ganjanggejang:doc-ffi
Open

doc: use ffi.suffix for library paths in examples#64805
ganjanggejang wants to merge 1 commit into
nodejs:mainfrom
ganjanggejang:doc-ffi

Conversation

@ganjanggejang

Copy link
Copy Markdown

Replace hardcoded .so library paths with ffi.suffix in the FFI documentation examples.

This makes the examples portable across Linux, macOS, and Windows without requiring users to manually change the shared library extension.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/ffi

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. ffi Issues and PRs related to experimental Foreign Function Interface support. labels Jul 28, 2026
Replace hardcoded .so library paths with ffi.suffix
in the FFI documentation examples.

Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
@trivikr trivikr added commit-queue Add this label to land a pull request using GitHub Actions. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. doc Issues and PRs related to the documentations. ffi Issues and PRs related to experimental Foreign Function Interface support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants