Commit 59fd635ca85e32d7922aaaee62ffa04f7bd70701
1 parent
f0d7d344
Exists in
master
and in
5 other branches
Corrigindo trace.h para uso em c++
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/include/lib3270/trace.h
... | ... | @@ -33,6 +33,10 @@ |
33 | 33 | |
34 | 34 | #define LIB3270_TRACE_H_INCLUDED 1 |
35 | 35 | |
36 | +#ifdef __cplusplus | |
37 | + extern "C" { | |
38 | +#endif | |
39 | + | |
36 | 40 | typedef void (*LIB3270_TRACE_HANDLER)(H3270 *, const char *, va_list); |
37 | 41 | |
38 | 42 | |
... | ... | @@ -68,5 +72,8 @@ |
68 | 72 | */ |
69 | 73 | LIB3270_EXPORT void lib3270_trace_event(H3270 *session, const char *fmt, ...); |
70 | 74 | |
75 | +#ifdef __cplusplus | |
76 | + } | |
77 | +#endif | |
71 | 78 | |
72 | 79 | #endif // LIB3270_TRACE_H_INCLUDED | ... | ... |