source: trunk/src/win32k/include/vprintf.h@ 1270

Last change on this file since 1270 was 1270, checked in by bird, 26 years ago

New modules. Pe2Lx rewrite.

File size: 625 bytes
Line 
1/* $Id: vprintf.h,v 1.1 1999-10-14 01:17:56 bird Exp $
2 *
3 * printf/vprintf header file.
4 *
5 * Copyright (c) 1999 knut st. osmundsen
6 *
7 */
8
9#ifndef _vprintf_h_
10#define _vprintf_h_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#ifndef va_arg
17 #error "must include stdarg.h"
18#endif
19
20
21/*
22 * Function prototypes
23 */
24int printf(const char *pszFormat, ...);
25int vprintf(const char *pszFormat, va_list args);
26
27/*
28 * va_start have to be redeclared. Compiler don't accept SSToDS() as va_start argument.
29 */
30#undef va_start
31#define va_start(ap, last) ap = ((va_list)SSToDS(&last)) + __nextword(last)
32
33#ifdef __cplusplus
34}
35#endif
36#endif
Note: See TracBrowser for help on using the repository browser.