Skip to content
This repository was archived by the owner on Mar 21, 2026. It is now read-only.

Add support for elaborated type - #10

Open
joelpurra wants to merge 4 commits into
tjfontaine:masterfrom
node-ffi-packager:support-elaborated-type
Open

Add support for elaborated type#10
joelpurra wants to merge 4 commits into
tjfontaine:masterfrom
node-ffi-packager:support-elaborated-type

Conversation

@joelpurra

@joelpurra joelpurra commented Mar 7, 2020

Copy link
Copy Markdown

Forked and fixed quite a few more things: https://github.com/node-ffi-packager/node-ffi-generate


Represents a type that was referred to using an elaborated type keyword, e.g., struct S, or via a qualified name, e.g., N::M::type, or both.

  • Supporting Elaborated types allows for a greatly expanded library generation.
  • Relies on corresponding support in node-libclang.

See

- Since this package both executes and generates code which uses `ref`/`ffi`/`ffi-*` packages, they are added both as developer and peer dependencies.
> Represents a type that was referred to using an elaborated type keyword, e.g., `struct S`, or via a qualified name, e.g.,` N::M::type`, or both.

- Supporting Elaborated types allows for a greatly expanded library generation.
- Relies on corresponding support in `node-libclang`.

See

- https://clang.llvm.org/doxygen/classclang_1_1ElaboratedType.html
- https://github.com/tjfontaine/node-libclang
- https://github.com/joelpurra/node-libclang/tree/support-elaborated-type
- Support for the elaborated type requires the corresponding support in `libclang`.
- If/when the patch gets merged in the upstream `libclang`, the version should be reverted.

See

- https://github.com/tjfontaine/node-libclang
- https://github.com/joelpurra/node-libclang/tree/support-elaborated-type
@joelpurra

Copy link
Copy Markdown
Author

See tjfontaine/node-libclang#16.

@joelpurra

Copy link
Copy Markdown
Author

Forked and fixed quite a few more things, might help someone: https://github.com/node-ffi-packager/node-ffi-generate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant