[comp.windows.x] ANSI C/C++ function prototypes for XLib, Xt

okeefe@kocab.cs.Buffalo.EDU (Paul O'Keefe) (02/06/91)

Does there exist header files with ANSI C/C++ style
function prototypes for all Xlib and Xt functions?

Paul O'Keefe
okeefe@cs.buffalo.edu
Department of Computer Science
State University of New York at Buffalo

klee@wsl.dec.com (Ken Lee) (02/06/91)

In article <57957@eerie.acsu.Buffalo.EDU>, okeefe@kocab.cs.Buffalo.EDU (Paul O'Keefe) writes:
|> Does there exist header files with ANSI C/C++ style
|> function prototypes for all Xlib and Xt functions?

Look in files Xlib.h and Intrinsic.h in the X11R4 sample implementation.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee

fischer@iesd.auc.dk (Lars P. Fischer) (02/06/91)

>>>>> On 5 Feb 91 18:54:49, okeefe@kocab.cs.Buffalo.EDU (Paul O'Keefe) said:

Paul> Does there exist header files with ANSI C/C++ style
Paul> function prototypes for all Xlib and Xt functions?

The standard header files (as found on the X11R4 tapes from MIT)
already has prototype definitions for ANSI C and C++. There is a
single copy of Xlib.h that tests on __STDC__ (and others) to see if
the prototypes should be used.

/Lars
--
Lars Fischer,  fischer@iesd.auc.dk   | Beauty is a French phonetic corruption
CS Dept., Univ. of Aalborg, DENMARK. |                   - FZ