<div dir="ltr">Hi everyone, <br><br>I have some c code using c_node that I have successfully got working with Erlang ( through Elixir ) and I am wondering if on the C side a more elegant way exists to pass data back to the Erlang/Elixir than what I am currently doing.  My C code looks a bit like this.<br><br><div> else if (erl_match(msg_pattern_b, emsg->msg)) {  </div><div>    ETERM *term = erl_var_content(msg_pattern_b, "Term");</div><div>    response = erl_format("{ok, ~w}",erl_mk_string(floats_as_string()));   </div><div>    erl_free_term(term);</div><div>  }</div><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>I've parsed a series of floats in to a char * and then passed that back to erl_mk_string(). <br><br>I hope I have framed this question in a way that makes sense. I'd like to take a list of floating point values directly and pass it directly back to my calling Elixir code as a list without having to parse it in and out of a string. <br><br>Is this possible. I have spent quite a bit of time now digging through the erl_ documentation and trying to find an example but I just can't quite see it. <br><br>Thanks !  </span><br><br><br></div></div>