Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

fix(primitives): Better primitive support #13

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

bengreenier
Copy link
Contributor

fixes #4 by ensuring the lookup tables for "builtins" are exhaustive, and based on https://en.wikipedia.org/wiki/C_data_types and https://github.com/node-ffi-napi/ref-napi/blob/latest/lib/ref.js#L835.

This will mean we need to allow additional symbols to generate libclang-bindings - specifically time_t which libclang uses but isn't a built-in.

@bengreenier bengreenier added the bug Something isn't working label Jan 5, 2022
@bengreenier bengreenier enabled auto-merge (squash) January 5, 2022 19:17
@bengreenier bengreenier merged commit 4284a6f into main Jan 5, 2022
@bengreenier bengreenier deleted the feat/exhastive-primitive-types branch January 5, 2022 19:35
This was referenced Jan 5, 2022
@github-actions github-actions bot mentioned this pull request Mar 15, 2022
This was referenced Mar 24, 2022
@github-actions github-actions bot mentioned this pull request Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure all primitive types are mapped properly
1 participant