From e2f1b2f35d803b6480a4ab81dfe60684c9666bb9 Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Thu, 22 May 2025 12:20:58 +0200 Subject: [PATCH] WIP: new externalterm API Signed-off-by: Davide Bettio --- src/libAtomVM/externalterm.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/libAtomVM/externalterm.h b/src/libAtomVM/externalterm.h index dbe0588b4..9c7594b1e 100644 --- a/src/libAtomVM/externalterm.h +++ b/src/libAtomVM/externalterm.h @@ -80,19 +80,6 @@ term externalterm_from_binary(Context *ctx, term binary, size_t *bytes_read); */ term externalterm_from_binary_with_roots(Context *ctx, size_t binary_ix, size_t offset, size_t *bytes_read, size_t num_roots, term *roots); -/** - * @brief Gets a term from a const literal (module in flash). - * - * @details Deserialize an external term from external format and returns a - * term. Use a heap fragment to store the generated terms. The heap fragment - * is appended to the context heap. Atoms and binaries are not copied. - * @param external_term the const literal buffer that will be deserialized - * @param size to allocate for term. - * @param ctx the context that owns the memory that will be allocated. - * @returns a term. - */ -term externalterm_from_const_literal(const void *external_term, size_t size, Context *ctx); - /** * @brief Create a binary from a term. *