- Used by node-ffi-packager to generate node-ffi-libraries.
- Used by a similarly forked node-ffi-generate.
- Use this version by referencing the repository/branch in
package.json
instead of the official version published on npm. - Based on
libclang
(v0.0.11) by Timothy J Fontaine.
Node.js module for libclang
, used for parsing C language family (C, C++, Objective C/C++, OpenCL, CUDA, and RenderScript) files from javascript.
npm install --save github:node-ffi-packager/node-libclang#semver:^v2.0.2
- Selected parts of the The LLVM Compiler Infrastructure.
- The
libclang
library. - Installing using a package manager is strongly recommended.
- The
See examples/
.
See node-ffi-generate.
Not all of libclang is wrapped yet, but there's enough for node-ffi-generate to regenerate the dynamic clang bindings. This library is dogfooding with the output of node-ffi-generate.
node-libclang
Copyright © 2011, 2012, 2013, 2014 Timothy J Fontaine, © 2020, 2021 Joel Purra. Released under MIT License.