Lib's complete?

Kent Boortz kent@REDACTED
Wed Apr 2 09:39:44 CEST 2003


<henkbijker78@REDACTED> writes:

> I'm having some trouble compiling my 'c' code. It seems like 'erl_int_value'
> and 'erl_is_tuple' is missing from the lib's. Any idea's / input will be
> appreciated. Attached is the command I use to compile and error messages
> received.

There are macros named ERL_IS_TUPLE and ERL_INT_VALUE but no functions
erl_is_tuple() and erl_int_value()

  % egrep -i 'ERL_IS_TUPLE|ERL_INT_VALUE' erl_interface-3.3.0/include/*
  erl_interface-3.3.0/include/erl_eterm.h:#define ERL_INT_VALUE(x) ((x)->uval.ival.i)
  erl_interface-3.3.0/include/erl_eterm.h:#define ERL_IS_TUPLE(x)    (ERL_TYPE(x) == ERL_TUPLE)

kent



More information about the erlang-questions mailing list