Comments (1)
Hmm it seems when you call setup the returned JSValue is actualy serialized to a JSValue::Object which is a HashMap<String, JSValue> and not a pointer to your instance of Foo
You need to call the raw invoke_function api's instead
from quickjs-rs.
Related Issues (20)
- Questions about design/architecture HOT 5
- Replace copy_dir
- [Bug] Strings cause memory free errors & segfaults. HOT 3
- Fix `set_global()` use after free. almost....? HOT 1
- Add full logging example HOT 2
- [Req] Add support for JsValue as add_callback closure parameter
- update to 2021-03-27
- Implement Native JSClasses HOT 2
- publishing libquickjs-sys with quickjs 2021-03-27 HOT 4
- More accuracy wrapper type for exception HOT 1
- What are the differences between the js engine of this warehouse and quickjs?
- could callback support mutability?
- Null pointer dereference in quick_js::bindings::OwnedObjectRef::property HOT 3
- Is there any way to use std, os, and global?
- Is the package maintained? HOT 10
- Build failed with `Could not apply patches` when system does not offer `patch` binary HOT 1
- Undefined references HOT 5
- works locally fine, but fails with "SyntaxError: stack overflow" on github ci/cd HOT 1
- Unable to accept arrays as callback params HOT 1
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 quickjs-rs.