| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 | 
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit | 
| Moderator: | STAR::VATNE | 
| Created: | Mon Oct 30 1989 | 
| Last Modified: | Mon Dec 31 1990 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 3726 | 
| Total number of notes: | 19516 | 
Forgive me if you've heard this before... I'd love to see a header file containing full function prototypes for all X and DRM routines. This would be the ultimate in a usable specification -- all incorrectly specified DRM calls would be flagged by compiler informational messages. A file like this would make development MUCH more painless for me, and I suspect it would for our customers, too. Could you convince your documentation folks to do this? Thanks, John Here is a preliminary idea of what I'd like to see: #ifdef no_proto #define ARGS(a) () #else #define ARGS(a) a #endif #ifdef X_PROTOTYPES /* fill the specified rectangle */ void XFillRectangle ARGS (( Display *dsp, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); etc... #endif /* X_PROTOTYPES */ #ifdef XT_PROTOTYPES etc... #endif /* XT_PROTOTYPES */ #ifdef DRM_PROTOTYPES etc... #endif /* DRM_PROTOTYPES */
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 2632.1 | Function prototypes coming for Xlib in R4 | STAR::ORGOVAN | Vince Orgovan | Thu Apr 19 1990 18:15 | 16 | 
|     You'll get at least some function prototypes in the next major 
    release of DECwindows. For MIT R4, Xlib.h conditionally includes
    function prototypes:
    
    	extern XFillRectangle(
    	#if NeedFunctionPrototypes
    	    Display*            /* display */,
    	    Drawable            /* d */,
    	    GC                  /* gc */,
    	    int                 /* x */,
    	    int                 /* y */,
    	    unsigned int        /* width */,
    	    unsigned int        /* height */
    	#endif
    	);
    
 | |||||