Add return_negative macro for entry function