[erlang-questions] Pass a String from erlang to C side and take using erl_eterm
Isuri Apeksha
isuri@REDACTED
Thu Nov 13 11:46:27 CET 2008
Hi All,
I need to pass a string from erlang to C side and need to take that using
erl_eterm. Because of atom is not a garbage-collected, I could not able to
convert list to atom and pass that atom to C side and take it using
ERL_ATOM_PTR. Also string can be contain 0. Because of that I could not able
to use erl_iolist_to_string function too. In this project I use C-Node.
Please help me to solve this problem.
Thanks,
Isuri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081113/31ad8df4/attachment.htm>
More information about the erlang-questions
mailing list