*ret_int = (int) (ERL_FLOAT_VALUE (term) + .5);
break;
+#ifdef ERL_LONGLONG
case ERL_LONGLONG:
*ret_int = (int) ERL_LL_VALUE (term);
break;
+#endif /* ERL_LONGLONG */
+#ifdef ERL_U_LONGLONG
case ERL_U_LONGLONG:
*ret_int = (int) ERL_LL_UVALUE (term);
break;
+#endif /* ERL_U_LONGLONG */
default:
ERROR ("erlang plugin: Don't know how to cast "
*ret_time = (time_t) (ERL_FLOAT_VALUE (term) + .5);
break;
+#ifdef ERL_LONGLONG
case ERL_LONGLONG:
*ret_time = (time_t) ERL_LL_VALUE (term);
break;
+#endif /* ERL_LONGLONG */
+#ifdef ERL_U_LONGLONG
case ERL_U_LONGLONG:
*ret_time = (time_t) ERL_LL_UVALUE (term);
break;
+#endif /* ERL_U_LONGLONG */
default:
ERROR ("erlang plugin: Don't know how to cast "
break;
}
+#ifdef ERL_LONGLONG
case ERL_LONGLONG:
{
long long v = ERL_LL_VALUE (term);
}
break;
}
+#endif /* ERL_LONGLONG */
+#ifdef ERL_U_LONGLONG
case ERL_U_LONGLONG:
{
unsigned long long v = ERL_LL_UVALUE (term);
}
break;
}
+#endif /* ERL_U_LONGLONG */
default:
ERROR ("erlang plugin: Don't know how to cast "