Re: [RFA 04/13] Call some functions in guile/ for effect

Tom Tromey
2018-07-16T15:58:02Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> ... we can't call value_bytes_available on a lazy value (because that function must
Pedro> be usable with values in the values history, that's why it works with a const value *),
Pedro> so the desired side effect here is fetching a lazy value. So I think we
Pedro> should replace that with:

Pedro> if (value_lazy (val))
Pedro> value_fetch_lazy (val);

Pedro> The Python seems to have the same issue, so I think it'd be
Pedro> a little better to handle both this hunk and the equivalent bit
Pedro> in Python in the same patch, and in its own patch.

I did this

Tom