Closed felixSchl closed 3 years ago
(3) has been implemented. Programs returning Unit return 0 and programs returning Int return the returned integer. Use --non-strict-main
to avoid special handling altogether: the returned value is released and we return 0.
Either:
main
functions,main
(if that information is even available),NULL
(implyingUnit
), return 0, else returnpurs_any_get_int(...)
of result.