Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
35e59151
Commit
35e59151
authored
May 25, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Prevent internal Wine headers from being used in tests.
parent
e8d4c2e6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
6 deletions
+28
-6
debug.h
include/wine/debug.h
+4
-0
library.h
include/wine/library.h
+4
-0
test.h
include/wine/test.h
+13
-3
unicode.h
include/wine/unicode.h
+7
-3
No files found.
include/wine/debug.h
View file @
35e59151
...
@@ -27,6 +27,10 @@
...
@@ -27,6 +27,10 @@
#include <guiddef.h>
#include <guiddef.h>
#endif
#endif
#ifdef __WINE_WINE_TEST_H
#error This file should not be used in Wine tests
#endif
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
#endif
#endif
...
...
include/wine/library.h
View file @
35e59151
...
@@ -27,6 +27,10 @@
...
@@ -27,6 +27,10 @@
#include <windef.h>
#include <windef.h>
#include <winbase.h>
#include <winbase.h>
#ifdef __WINE_WINE_TEST_H
#error This file should not be used in Wine tests
#endif
/* configuration */
/* configuration */
extern
const
char
*
wine_get_build_dir
(
void
);
extern
const
char
*
wine_get_build_dir
(
void
);
...
...
include/wine/test.h
View file @
35e59151
...
@@ -18,14 +18,24 @@
...
@@ -18,14 +18,24 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#ifndef __WINE_TEST_H
#ifndef __WINE_
WINE_
TEST_H
#define __WINE_TEST_H
#define __WINE_
WINE_
TEST_H
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <windef.h>
#include <windef.h>
#include <winbase.h>
#include <winbase.h>
#ifdef __WINE_WINE_LIBRARY_H
#error wine/library.h should not be used in Wine tests
#endif
#ifdef __WINE_WINE_UNICODE_H
#error wine/unicode.h should not be used in Wine tests
#endif
#ifdef __WINE_WINE_DEBUG_H
#error wine/debug.h should not be used in Wine tests
#endif
/* debug level */
/* debug level */
extern
int
winetest_debug
;
extern
int
winetest_debug
;
...
@@ -403,4 +413,4 @@ int main( int argc, char **argv )
...
@@ -403,4 +413,4 @@ int main( int argc, char **argv )
#endif
/* STANDALONE */
#endif
/* STANDALONE */
#endif
/* __WINE_TEST_H */
#endif
/* __WINE_
WINE_
TEST_H */
include/wine/unicode.h
View file @
35e59151
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#ifndef __WINE_UNICODE_H
#ifndef __WINE_
WINE_
UNICODE_H
#define __WINE_UNICODE_H
#define __WINE_
WINE_
UNICODE_H
#include <stdarg.h>
#include <stdarg.h>
...
@@ -27,6 +27,10 @@
...
@@ -27,6 +27,10 @@
#include <winbase.h>
#include <winbase.h>
#include <winnls.h>
#include <winnls.h>
#ifdef __WINE_WINE_TEST_H
#error This file should not be used in Wine tests
#endif
#ifndef WINE_UNICODE_API
#ifndef WINE_UNICODE_API
#define WINE_UNICODE_API DECLSPEC_IMPORT
#define WINE_UNICODE_API DECLSPEC_IMPORT
#endif
#endif
...
@@ -284,4 +288,4 @@ extern inline int atoiW( const WCHAR *str )
...
@@ -284,4 +288,4 @@ extern inline int atoiW( const WCHAR *str )
return
(
int
)
atolW
(
str
);
return
(
int
)
atolW
(
str
);
}
}
#endif
/* __WINE_UNICODE_H */
#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