🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2231

Re: Variable param for non-vararg subr. calls

#2231
From: John Shalf
Date: Sun, 10 Mar 1996 16:33
14 lines
1189 bytes
Andrew Smith <asmith@cisc.com> wrote:
>Im curious, is there no way for you to design your application so that
>you could load your parameters into a structure or array?  As a possible

Thats what I'm doing now.  However for every function that is in a
numerical library or system lib that I can't modify directly, I
have to write a wrapper for it.  I want to get away from 
writing a wrapper per function. Sharing a wrapper among all
routines with the same parameters reduces the number of wrappers
required, but I am still interested reducing the number of wrappers
to one (a vararg-to-fixed arg convertor).

-john
Technical Details
Message-ID: <4hv088$jeb@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4gsaai$41m@solutions.solon.com> <4h9mju$gsa@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: John Shalf <jshalf@ncsa.uiuc.edu>
Newsgroups: comp.lang.c.moderated
Subject: Re: Variable param for non-vararg subr. calls
Date: 10 Mar 1996 10:33:12 -0600
Organization: NCSA
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4hv088$jeb@solutions.solon.com>
References: <4gsaai$41m@solutions.solon.com> <4h9mju$gsa@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Mailer: Mozilla 1.12(Macintosh; I; 68K)
X-URL: news://news.cso.uiuc.edu/4h9mju$gsa@solutions.solon.com