[Top][All Lists]

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

Re: [Chicken-users] Constant for maximum number of arguments?

From: felix winkelmann
Subject: Re: [Chicken-users] Constant for maximum number of arguments?
Date: Tue, 18 Apr 2006 07:37:49 +0200

On 4/17/06, Reed Sheridan <address@hidden> wrote:
> I would like to be able to conditionalize code on the number of arguments
> that apply can hanlde in a particular installation of Chicken.  Is there a
> way to query the system about this, and if not, can there be?  I could just
> test for libffi (I think), but I'd prefer to have something robust that
> won't break if the limit ever changes.

Currently the limit is 120 vs 1000 with libffi installed (the latter
is a completely
arbitrary limit). You can assume that max-argc is 120 and 1000 if
(test-feature? 'libffi) is true (but I'll add a system-variable for this).


reply via email to

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