Comments (3)
You may want to use the newtype enum style instead
So how about change bindgen to generate newtype enum?
from napi-rs.
Ok, I'll open a new PR for that
from napi-rs.
@Brooooooklyn This should be reopened. We use low level sys enums directly in napi calls again which can lead to them having an invalid state between versions of napi.
from napi-rs.
Related Issues (20)
- Build creates JS exports that no longer exist
- Support node_api_symbol_for aka Symbol.for HOT 1
- How to bypass cargo channel flag like "+nightly-x86_64-pc-windows-msvc" to napi build command? HOT 2
- Threadsafe Function makes node hang.
- Added into awesome directory HOT 2
- How do I use ThreadsafeFunction::call_with_return_value? HOT 1
- `npm:@napi-rs/cli` should support run under deno
- should support `cargo install napi` HOT 1
- extern crate vs use HOT 1
- ThreadsafeFunction callback value null HOT 1
- Fail to build for `aarch64-unknown-linux-gnu` with vendored OpenSSL HOT 1
- Either does not differentiate between different objects if they have similar property names, and one has an optional property HOT 1
- Implement FromNapiValue for serde_json::Value(Map<String, Value>)
- ThreadsafeFunction can not support async function
- error: failed to run custom build command for `proc-macro2 v1.0.67` HOT 2
- Unable to expose Rust struct with `Vec` field HOT 2
- How to deal with buffer that are not U8 HOT 2
- Failed to build for aarch64-apple-darwin at linux HOT 7
- How to call one "function" but only once for enable debug HOT 3
- GitHub Actions Fails With Timeout Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napi-rs.