guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scm_out_of_range_pos()


From: Martin Baulig
Subject: scm_out_of_range_pos()
Date: 01 Sep 2001 18:39:05 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi,

is there any reason why there's both scm_out_of_range() and
scm_out_of_range_pos() instead of checking whether pos != 0 like
in scm_wrong_type_arg() ?

The behavior of the VALIDATE macros is currently inconsistent if
you pass pos == 0 - most of them (which are using SCM_ASSERT) print
the correct error message - and the ones which are using SCM_ASSERT_RANGE
print "... argument 0 ..." in the error message.

-- 
Martin Baulig
address@hidden (private)
address@hidden (work)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]