erl_eterm core dumps?

Torbjorn Tornkvist <>
Mon Oct 4 08:26:19 CEST 1999


You have to call:

        erl_init(NULL, 0);

the first thing you do.

Cheers /Tobbe
---------------------------------------------
/* This program doesn't core dump */

#include "erl_interface.h"
#include "ei.h"

main()
{
        ETERM *e;
        int i;
       
        erl_init(NULL, 0);
        i = 1;
        e = erl_mk_int(i);
}
---------------------------------------------






More information about the erlang-questions mailing list