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
b846b2df
Commit
b846b2df
authored
Jul 30, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force STRICT checking of callback function types when compiling Wine.
parent
5905ba95
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
winnls.h
include/winnls.h
+2
-2
winuser.h
include/winuser.h
+4
-4
No files found.
include/winnls.h
View file @
b846b2df
...
@@ -10,7 +10,7 @@ extern "C" {
...
@@ -10,7 +10,7 @@ extern "C" {
/* Define a bunch of callback types */
/* Define a bunch of callback types */
#if
def STRICT
#if
defined(STRICT) || defined(__WINE__)
typedef
BOOL
CALLBACK
(
*
CALINFO_ENUMPROCA
)(
LPSTR
);
typedef
BOOL
CALLBACK
(
*
CALINFO_ENUMPROCA
)(
LPSTR
);
typedef
BOOL
CALLBACK
(
*
CALINFO_ENUMPROCW
)(
LPWSTR
);
typedef
BOOL
CALLBACK
(
*
CALINFO_ENUMPROCW
)(
LPWSTR
);
typedef
BOOL
CALLBACK
(
*
CODEPAGE_ENUMPROCA
)(
LPSTR
);
typedef
BOOL
CALLBACK
(
*
CODEPAGE_ENUMPROCA
)(
LPSTR
);
...
@@ -32,7 +32,7 @@ typedef FARPROC LOCALE_ENUMPROCA;
...
@@ -32,7 +32,7 @@ typedef FARPROC LOCALE_ENUMPROCA;
typedef
FARPROC
LOCALE_ENUMPROCW
;
typedef
FARPROC
LOCALE_ENUMPROCW
;
typedef
FARPROC
TIMEFMT_ENUMPROCA
;
typedef
FARPROC
TIMEFMT_ENUMPROCA
;
typedef
FARPROC
TIMEFMT_ENUMPROCW
;
typedef
FARPROC
TIMEFMT_ENUMPROCW
;
#endif
/* STRICT */
#endif
/* STRICT
|| __WINE__
*/
DECL_WINELIB_TYPE_AW
(
CALINFO_ENUMPROC
)
DECL_WINELIB_TYPE_AW
(
CALINFO_ENUMPROC
)
DECL_WINELIB_TYPE_AW
(
CODEPAGE_ENUMPROC
)
DECL_WINELIB_TYPE_AW
(
CODEPAGE_ENUMPROC
)
...
...
include/winuser.h
View file @
b846b2df
...
@@ -14,7 +14,7 @@ extern "C" {
...
@@ -14,7 +14,7 @@ extern "C" {
/* Define a bunch of callback types */
/* Define a bunch of callback types */
#if
def STRICT
#if
defined(STRICT) || defined(__WINE__)
typedef
BOOL
CALLBACK
(
*
DLGPROC
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
BOOL
CALLBACK
(
*
DLGPROC
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
BOOL
CALLBACK
(
*
DRAWSTATEPROC
)(
HDC
,
LPARAM
,
WPARAM
,
int
,
int
);
typedef
BOOL
CALLBACK
(
*
DRAWSTATEPROC
)(
HDC
,
LPARAM
,
WPARAM
,
int
,
int
);
typedef
INT
CALLBACK
(
*
EDITWORDBREAKPROCA
)(
LPSTR
,
INT
,
INT
,
INT
);
typedef
INT
CALLBACK
(
*
EDITWORDBREAKPROCA
)(
LPSTR
,
INT
,
INT
,
INT
);
...
@@ -25,8 +25,8 @@ typedef BOOL CALLBACK (*NAMEENUMPROCA)(LPSTR,LPARAM);
...
@@ -25,8 +25,8 @@ typedef BOOL CALLBACK (*NAMEENUMPROCA)(LPSTR,LPARAM);
typedef
BOOL
CALLBACK
(
*
NAMEENUMPROCW
)(
LPWSTR
,
LPARAM
);
typedef
BOOL
CALLBACK
(
*
NAMEENUMPROCW
)(
LPWSTR
,
LPARAM
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCA
)(
HWND
,
LPCSTR
,
HANDLE
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCA
)(
HWND
,
LPCSTR
,
HANDLE
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCW
)(
HWND
,
LPCWSTR
,
HANDLE
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCW
)(
HWND
,
LPCWSTR
,
HANDLE
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCEXA
)(
HWND
,
LPCSTR
,
HANDLE
,
DWORD
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCEXA
)(
HWND
,
LPCSTR
,
HANDLE
,
ULONG_PTR
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCEXW
)(
HWND
,
LPCWSTR
,
HANDLE
,
DWORD
);
typedef
BOOL
CALLBACK
(
*
PROPENUMPROCEXW
)(
HWND
,
LPCWSTR
,
HANDLE
,
ULONG_PTR
);
typedef
VOID
CALLBACK
(
*
SENDASYNCPROC
)(
HWND
,
UINT
,
ULONG_PTR
,
LRESULT
);
typedef
VOID
CALLBACK
(
*
SENDASYNCPROC
)(
HWND
,
UINT
,
ULONG_PTR
,
LRESULT
);
typedef
VOID
CALLBACK
(
*
TIMERPROC
)(
HWND
,
UINT
,
UINT
,
DWORD
);
typedef
VOID
CALLBACK
(
*
TIMERPROC
)(
HWND
,
UINT
,
UINT
,
DWORD
);
typedef
BOOL
CALLBACK
(
*
WNDENUMPROC
)(
HWND
,
LPARAM
);
typedef
BOOL
CALLBACK
(
*
WNDENUMPROC
)(
HWND
,
LPARAM
);
...
@@ -46,7 +46,7 @@ typedef FARPROC PROPENUMPROCEXW;
...
@@ -46,7 +46,7 @@ typedef FARPROC PROPENUMPROCEXW;
typedef
FARPROC
SENDASYNCPROC
;
typedef
FARPROC
SENDASYNCPROC
;
typedef
FARPROC
TIMERPROC
;
typedef
FARPROC
TIMERPROC
;
typedef
FARPROC
WNDENUMPROC
;
typedef
FARPROC
WNDENUMPROC
;
#endif
/* STRICT */
#endif
/* STRICT
|| __WINE__
*/
typedef
NAMEENUMPROCA
WINSTAENUMPROCA
;
typedef
NAMEENUMPROCA
WINSTAENUMPROCA
;
typedef
NAMEENUMPROCA
DESKTOPENUMPROCA
;
typedef
NAMEENUMPROCA
DESKTOPENUMPROCA
;
...
...
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