This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
Re: ModuleMethod:numArgs
- To: "Patrick Barta" <patr at jhmi dot edu>
- Subject: Re: ModuleMethod:numArgs
- From: Per Bothner <per at bothner dot com>
- Date: 03 Mar 2000 08:34:55 -0800
- Cc: <kawa at sourceware dot cygnus dot com>
- References: <005901bf8511$fa02d0d0$1a070318@twsn1.md.home.com>
"Patrick Barta" <patr@jhmi.edu> writes:
> i have some code that switches on the number of arguments in a procedure,
> I thought of checking ModuleMethod:numArgs (), but it returns 4097!
Use minArgs or maxArgs.
(numArgs is one of my questionable ideas - to use a single "virtual
function table slot", instead of two.)
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/