Skip to content

Conversation

joelpurra
Copy link

@joelpurra joelpurra commented Mar 7, 2020

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
Author

See tjfontaine/node-libclang#16.

@joelpurra
Copy link
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 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