home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20685 < prev    next >
Encoding:
Text File  |  1993-01-01  |  977 b   |  26 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!caen!garath
  3. From: garath@engin.umich.edu (Scott Grosch)
  4. Subject: Varargs functions
  5. Message-ID: <LJb=sL@engin.umich.edu>
  6. Date: Fri, 01 Jan 93 19:26:51 EST
  7. Organization: University of Michigan Engineering, Ann Arbor
  8. Nntp-Posting-Host: irony.engin.umich.edu
  9. Lines: 15
  10.  
  11.  
  12. I have heard many times that it is bad practice to mix the varargs
  13. routines (such as XtVaSetValues) with the non varargs routines (such
  14. as XtSetArg() with XtSetValues).  I have looked through the code for
  15. these functions and it would appear that the varargs simply pull out
  16. each arg, put it in the formst that XtSetValues wants, and then calls
  17. that just like normal.  Would someone shed some light on this please?
  18. Thanks.
  19.  
  20.         -- Scott
  21.  
  22. -- 
  23. Scott Grosch                              Internet: garath@engin.umich.edu
  24. Programmer                                        Bitnet: user7a4b@umichum
  25. Computer Aided Engineering Network                  University of Michigan
  26.