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

externalterm: add externalterm_to_term_copy #1322

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Oct 13, 2024

This goes in pair with the recent addition for storing a term into a buffer.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Works like externalterm_to_term, but it makes a copy of data stored in
the buffer, so it can be safely used from NIFs.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio merged commit d349496 into atomvm:release-0.6 Oct 13, 2024
91 of 93 checks passed
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.

1 participant