Last change
on this file since 2912 was 2898, checked in by bird, 26 years ago |
Symbol Database is implemented.
No scanning of the os2krnl file, the loaded image is now scaned to determin
which build, debug/retail and smp/uni.
And yet some more enhanchments like 16-bit logging.
|
File size:
732 bytes
|
Line | |
---|
1 | /* $Id: vprntf16.h,v 1.1 2000-02-25 18:15:06 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 printf16(const char *pszFormat, ...);
|
---|
33 | int vprintf16(const char *pszFormat, va_list args);
|
---|
34 |
|
---|
35 |
|
---|
36 | #ifdef __cplusplus
|
---|
37 | }
|
---|
38 | #endif
|
---|
39 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.