home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!ut-emx!tivoli!foraker!taylor
- From: taylor@foraker.tivoli.com (Eric Taylor)
- Newsgroups: comp.windows.x
- Subject: Re: Varargs functions
- Message-ID: <7476@tivoli.UUCP>
- Date: 5 Jan 93 18:56:04 GMT
- References: <LJb=sL@engin.umich.edu> <1993Jan4.162507.7847@alex.com>
- Sender: news@tivoli.UUCP
- Lines: 15
-
- In article <1993Jan4.162507.7847@alex.com>, bryan@alex.com (Bryan Boreham) writes:
- |> In article <LJb=sL@engin.umich.edu>, garath@engin.umich.edu (Scott Grosch) writes:
- |> |>
- |> |> I have heard many times that it is bad practice to mix the varargs
- |> |> routines (such as XtVaSetValues) with the non varargs routines (such
- |> |> as XtSetArg() with XtSetValues). I have looked through the code for
- |> |> these functions and it would appear that the varargs simply pull out
- |> |> each arg, put it in the formst that XtSetValues wants, and then calls
- |> |> that just like normal. Would someone shed some light on this please?
-
- Perhaps stylistically bad, but certainly valid.
- Just try and get around arg lists when doing MOTIF programming.
-
- BTW, anyone, in MOTIF 1.2 are there varargs versions of the
- XmCreateXXXX calls? I am anxiosly awaiting such things.
-