Last change
on this file since 65984 was 57072, checked in by vboxsync, 9 years ago |
gccplugin: gcc grokking in progress.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
475 bytes
|
Line | |
---|
1 | /* Only valid stuff in this one. */
|
---|
2 | extern void MyIprtPrintf(const char *pszFormat, ...) __attribute__((__iprt_format__(1,2)));
|
---|
3 | extern void foo(void);
|
---|
4 |
|
---|
5 | extern unsigned long long g_ull;
|
---|
6 |
|
---|
7 | typedef unsigned long long RTGCPHYS;
|
---|
8 | extern RTGCPHYS g_GCPhys;
|
---|
9 |
|
---|
10 | typedef RTGCPHYS *PRTGCPHYS;
|
---|
11 | extern PRTGCPHYS g_pGCPhys;
|
---|
12 |
|
---|
13 | void foo(void)
|
---|
14 | {
|
---|
15 | MyIprtPrintf("%s %RX64 %RGp %p %RGp", "foobar", g_ull, g_GCPhys, g_pGCPhys, *g_pGCPhys);
|
---|
16 | MyIprtPrintf("%RX32 %d %s\n", 10, 42, "string");
|
---|
17 | }
|
---|
18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.