Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!labrea!sri-unix!quintus!pds From: pds@quintus (Peter Schachte) Newsgroups: comp.windows.x Subject: Xatom.h Message-ID: <970@quintus.UUCP> Date: 7 Mar 89 19:10:47 GMT Sender: news@quintus.UUCP Reply-To: pds@quintus (Peter Schachte) Organization: Quintus Computer Systems, Inc. Lines: 22 The file Xatom.h begins with the admonition /* THIS IS A GENERATED FILE * * Do not edit it directly or put it under source control. */ but I can't figure out what it is generated from. If I need to construct a similar file for a different language, should I try to generate it from whatever Xatom.h is generated from, or should I just generate it from Xatom.h directly? Will the format of Xatom.h remain #define atom ((Atom) number)? Can I count on it being defined by #define, and the body of the definition being parenthesized and containing a cast? Will all the predefined atoms begin with XA_ and be all upper-case? What's the right way to do this? (Though I maintain that the "right" thing would be for the server to recognize the predefined atoms when I try to intern them). -Peter Schachte pds@quintus.uucp ..!sun!quintus!pds