Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e21cbfe7
Commit
e21cbfe7
authored
Nov 06, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add extern "C" to the exported Wine headers.
parent
5e2ed6bf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
exception.h
include/wine/exception.h
+8
-0
library.h
include/wine/library.h
+8
-0
unicode.h
include/wine/unicode.h
+8
-0
No files found.
include/wine/exception.h
View file @
e21cbfe7
...
...
@@ -25,6 +25,10 @@
#include <windef.h>
#include <excpt.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* The following definitions allow using exceptions in Wine and Winelib code
*
* They should be used like this:
...
...
@@ -329,4 +333,8 @@ static inline DWORD __wine_finally_handler( EXCEPTION_RECORD *record,
#endif
/* USE_COMPILER_EXCEPTIONS */
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_WINE_EXCEPTION_H */
include/wine/library.h
View file @
e21cbfe7
...
...
@@ -31,6 +31,10 @@
#error This file should not be used in Wine tests
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
/* configuration */
extern
const
char
*
wine_get_build_dir
(
void
);
...
...
@@ -212,4 +216,8 @@ __DEFINE_SET_SEG(gs)
#undef __DEFINE_GET_SEG
#undef __DEFINE_SET_SEG
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_WINE_LIBRARY_H */
include/wine/unicode.h
View file @
e21cbfe7
...
...
@@ -31,6 +31,10 @@
#error This file should not be used in Wine tests
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef WINE_UNICODE_API
# if defined(_MSC_VER) || defined(__MINGW32__)
# define WINE_UNICODE_API DECLSPEC_IMPORT
...
...
@@ -331,4 +335,8 @@ WINE_UNICODE_INLINE int atoiW( const WCHAR *str )
#undef WINE_UNICODE_INLINE
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_WINE_UNICODE_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment