question: howto return a void* from a nif.

Aperta
#1,735 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c, erlang
Ambito
backend

Direzione di ricerca

The issue asks how a NIF can return a void* for use as input to other NIFs, but names no source files or tests. Start by reading AtomVM’s NIF documentation and existing NIF examples; determine whether they explain how to pass native pointers between NIF calls. Done means the issue has a clear answer grounded in the project’s supported NIF interface.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

hello,

what would be the best way to return a void* (which will be an input parameter of other nif(s) ) from a nif?

thanks for any answer.

Lingua principale
Erlang
Stelle
2.3k
Fork
171
Merge medio
5g 11h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di atomvm/AtomVM

Tutte le issue di atomvm/AtomVM

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.