Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(wasm): Expiriment with memory #3055

Merged
merged 1 commit into from
May 16, 2024
Merged

chore(wasm): Expiriment with memory #3055

merged 1 commit into from
May 16, 2024

Conversation

kostasrim
Copy link
Contributor

No description provided.

@dranikpg dranikpg merged commit 852f956 into wasm May 16, 2024
@dranikpg dranikpg deleted the expiriment_with_memory branch May 16, 2024 20:43
/* Used to export functions from wasm modules */

// Use this macro if you want your function to be available within dragonfly,
// that is if you want to call `my_fun` from module `module.wasm` via `WASMCALL`
// then you have to register it first via DF_EXPORT("my_fun")
#define DF_EXPORT(name) __attribute__((export_name(name)))

/* Private and NOT part of the public API */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also check, maybe malloc or new is exported by default 🤷

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.

None yet

2 participants