home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20768 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.2 KB

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