Last change
on this file since 5087 was 4164, checked in by bird, 25 years ago |
Merged in the Grace branch. New Win32k!
|
File size:
793 bytes
|
Line | |
---|
1 | /* $Id: vprntf16.h,v 1.2 2000-09-02 21:08:04 bird Exp $
|
---|
2 | *
|
---|
3 | * printf/vprintf header file - 16bit.
|
---|
4 | *
|
---|
5 | * WARNING: Do not include stdarg.h! AND it's only for use during init!!!
|
---|
6 | *
|
---|
7 | * Copyright (c) 1999 knut st. osmundsen
|
---|
8 | *
|
---|
9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
10 | *
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef _vprintf_h_
|
---|
14 | #define _vprintf_h_
|
---|
15 |
|
---|
16 | #ifdef __cplusplus
|
---|
17 | extern "C" {
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Argument definitions.
|
---|
22 | */
|
---|
23 | typedef char _far *va_list;
|
---|
24 | #define va_start(ap,v) ap = (va_list)&v + sizeof(v)
|
---|
25 | #define va_arg(ap, t) ((t _far *)(ap += sizeof(t)))[-1]
|
---|
26 | #define va_end(ap) ap = NULL
|
---|
27 |
|
---|
28 |
|
---|
29 | /*
|
---|
30 | * Function prototypes
|
---|
31 | */
|
---|
32 | int FAR printf16(const char *pszFormat, ...);
|
---|
33 | int FAR vprintf16(const char *pszFormat, va_list args);
|
---|
34 |
|
---|
35 | /*#pragma alloc_text(CODE16, printf16, vprintf16)*/
|
---|
36 |
|
---|
37 |
|
---|
38 | #ifdef __cplusplus
|
---|
39 | }
|
---|
40 | #endif
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.