turner@daisy.UUCP (D'arc Angel) (02/12/88)
I am confused by something and perhaps some kind soul can explain this to
me. In Xlib.h there is a line
struct _XrmResourceDataBase *db;
and Xresource.h there is a line
typedef struct _XrmResourceDataBase *XrmResourceDataBase;
and finally in Xrm.c there is
typedef struct _XrmResourceDataBase {
XrmRepresentation type;
XrmValue val;
XrmHashBucket *hashTable;
} XrmResourceDataBaseRec;
and last, but not least XOpenDis.c
dpy -> db = (struct _XrmResourceDataBase *)NULL;
now, everyone includes Xlib.h, some include Xresource.h, and no one
includes Xrm.c, so how the blue blazes does the c compiler generate
valid code for all of this ?????
--
Laissez les bons temps rouler - Queen Ida
...{decwrl|ucbvax}!imagen!atari!daisy!turner (James M. Turner)
Daisy Systems, 700 E. Middlefield Rd, P.O. Box 7006,
Mountain View CA 94039-7006. (415)960-0123