Commit 247cd64c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winapi_check does not use the '--extension' flag so remove it.

parent ea458621
...@@ -40,6 +40,7 @@ HCRYPTPROV ...@@ -40,6 +40,7 @@ HCRYPTPROV
HKEY HKEY
INT INT
LONG LONG
LSA_HANDLE
NTSTATUS NTSTATUS
POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
REGSAM REGSAM
...@@ -59,10 +60,6 @@ ULONG ...@@ -59,10 +60,6 @@ ULONG
WORD WORD
unsigned int unsigned int
%long --extension
LSA_HANDLE
%ptr %ptr
BYTE * BYTE *
...@@ -1094,6 +1091,7 @@ HBITMAP ...@@ -1094,6 +1091,7 @@ HBITMAP
HBRUSH HBRUSH
HCOLORSPACE HCOLORSPACE
HDC HDC
HDC16
HENHMETAFILE HENHMETAFILE
HFONT HFONT
HGDIOBJ HGDIOBJ
...@@ -1101,21 +1099,17 @@ HGLOBAL ...@@ -1101,21 +1099,17 @@ HGLOBAL
HMETAFILE HMETAFILE
HPALETTE HPALETTE
HPEN HPEN
HPJOB16
HRGN HRGN
HRGN16
HWND HWND
INT INT
INT16
LONG LONG
LPARAM LPARAM
UINT UINT
ULONG ULONG
WORD WORD
%long --extension
HDC16
HPJOB16
HRGN16
INT16
int int
%ptr %ptr
...@@ -1135,6 +1129,7 @@ DOCINFOW * ...@@ -1135,6 +1129,7 @@ DOCINFOW *
DWORD * DWORD *
ENHMETARECORD * ENHMETARECORD *
ENHMFENUMPROC ENHMFENUMPROC
FARPROC16
FONTENUMPROCA FONTENUMPROCA
FONTENUMPROCW FONTENUMPROCW
GCP_RESULTSA * GCP_RESULTSA *
...@@ -1204,10 +1199,6 @@ XFORM * ...@@ -1204,10 +1199,6 @@ XFORM *
VOID ** VOID **
void * void *
%ptr --extension
FARPROC16
%str %str
LPCSTR LPCSTR
...@@ -1492,6 +1483,7 @@ LONG ...@@ -1492,6 +1483,7 @@ LONG
ATOM ATOM
BOOL BOOL
BOOL16
BYTE BYTE
CALID CALID
CALTYPE CALTYPE
...@@ -1503,12 +1495,20 @@ GEOCLASS ...@@ -1503,12 +1495,20 @@ GEOCLASS
GEOID GEOID
GEOTYPE GEOTYPE
HANDLE HANDLE
HANDLE16
HFILE HFILE
HFILE16
HGLOBAL HGLOBAL
HGLOBAL16
HINSTANCE HINSTANCE
HINSTANCE16
HLOCAL HLOCAL
HLOCAL16
HMODULE HMODULE
HMODULE16
HRSRC HRSRC
HRSRC16
HTASK16
HWND HWND
INT INT
LANGID LANGID
...@@ -1518,25 +1518,13 @@ LCTYPE ...@@ -1518,25 +1518,13 @@ LCTYPE
LONG LONG
SIZE_T SIZE_T
UINT UINT
UINT16
ULONG ULONG
WCHAR WCHAR
WORD WORD
WOW_HANDLE_TYPE WOW_HANDLE_TYPE
int int
%long --extension
BOOL16
HANDLE16
HFILE16
HGLOBAL16
HINSTANCE16
HLOCAL16
HMODULE16
HRSRC16
HTASK16
UINT16
%long --pointer %long --pointer
DWORD_PTR DWORD_PTR
...@@ -1577,6 +1565,7 @@ ENUMRESTYPEPROCA ...@@ -1577,6 +1565,7 @@ ENUMRESTYPEPROCA
ENUMRESTYPEPROCW ENUMRESTYPEPROCW
FARPROC FARPROC
FARPROC * FARPROC *
FARPROC16
FILETIME * FILETIME *
FINDEX_INFO_LEVELS FINDEX_INFO_LEVELS
FINDEX_SEARCH_OPS FINDEX_SEARCH_OPS
...@@ -1671,6 +1660,7 @@ PVOID ...@@ -1671,6 +1660,7 @@ PVOID
PTIMERAPCROUTINE PTIMERAPCROUTINE
PULARGE_INTEGER PULARGE_INTEGER
SECURITY_ATTRIBUTES * SECURITY_ATTRIBUTES *
SEGPTR
SIZE_T * SIZE_T *
SYSLEVEL * SYSLEVEL *
SYSLEVEL ** SYSLEVEL **
...@@ -1692,11 +1682,6 @@ va_list ...@@ -1692,11 +1682,6 @@ va_list
va_list * va_list *
void * void *
%ptr --extension
FARPROC16
SEGPTR
%str %str
LPCSTR LPCSTR
...@@ -2542,6 +2527,7 @@ WCHAR ...@@ -2542,6 +2527,7 @@ WCHAR
WORD WORD
int int
long long
obj_handle_t
unsigned int unsigned int
unsigned long unsigned long
...@@ -2549,10 +2535,6 @@ unsigned long ...@@ -2549,10 +2535,6 @@ unsigned long
ULONG_PTR ULONG_PTR
%long --extension
obj_handle_t
%longlong %longlong
DWORDLONG DWORDLONG
...@@ -2683,8 +2665,12 @@ ULONGLONG * ...@@ -2683,8 +2665,12 @@ ULONGLONG *
USHORT * USHORT *
UNICODE_STRING * UNICODE_STRING *
VOID * VOID *
WCHAR *
WCHAR ** WCHAR **
char *
enum loadorder_type[] enum loadorder_type[]
int *
obj_handle_t *
union cptable * union cptable *
va_list va_list
va_list * va_list *
...@@ -2692,13 +2678,6 @@ void * ...@@ -2692,13 +2678,6 @@ void *
void ** void **
wine_signal_handler wine_signal_handler
%ptr --extension
WCHAR *
char *
int *
obj_handle_t *
%str %str
LPCSTR LPCSTR
...@@ -3939,16 +3918,13 @@ ULARGE_INTEGER * ...@@ -3939,16 +3918,13 @@ ULARGE_INTEGER *
VARIANT * VARIANT *
VOID * VOID *
WNDCLASSA * WNDCLASSA *
WNDCLASSW *
int * int *
unsigned char * unsigned char *
va_list va_list
void * void *
void ** void **
%ptr --extension
WNDCLASSW *
%str %str
LPCSTR LPCSTR
...@@ -4120,6 +4096,7 @@ GUITHREADINFO * ...@@ -4120,6 +4096,7 @@ GUITHREADINFO *
DWORD DWORD
HACCEL HACCEL
HANDLE HANDLE
HANDLE16
HBITMAP HBITMAP
HBRUSH HBRUSH
HCONV HCONV
...@@ -4129,14 +4106,18 @@ HDC ...@@ -4129,14 +4106,18 @@ HDC
HDDEDATA HDDEDATA
HDESK HDESK
HDEVNOTIFY HDEVNOTIFY
HDRVR16
HDWP HDWP
HFONT HFONT
HGLOBAL16
HHOOK HHOOK
HICON HICON
HINSTANCE HINSTANCE
HINSTANCE16
HKL HKL
HMENU HMENU
HMODULE HMODULE
HMODULE16
HMONITOR HMONITOR
HRESULT HRESULT
HRGN HRGN
...@@ -4145,16 +4126,20 @@ HTASK ...@@ -4145,16 +4126,20 @@ HTASK
HWINEVENTHOOK HWINEVENTHOOK
HWINSTA HWINSTA
HWND HWND
HWND16
INT INT
INT16
LONG LONG
LPARAM LPARAM
LRESULT LRESULT
SHORT SHORT
UINT UINT
UINT16
ULONG ULONG
WCHAR WCHAR
WORD WORD
WPARAM WPARAM
WPARAM16
int int
%long --pointer %long --pointer
...@@ -4163,18 +4148,6 @@ INT_PTR ...@@ -4163,18 +4148,6 @@ INT_PTR
UINT_PTR UINT_PTR
ULONG_PTR ULONG_PTR
%long --extension
HANDLE16
HDRVR16
HGLOBAL16
HINSTANCE16
HMODULE16
HWND16
INT16
UINT16
WPARAM16
%longlong %longlong
POINT POINT
...@@ -4184,6 +4157,7 @@ POINT ...@@ -4184,6 +4157,7 @@ POINT
BOOL * BOOL *
COLORREF * COLORREF *
DLGPROC DLGPROC
DLGPROC16
DESKTOPENUMPROCA DESKTOPENUMPROCA
DESKTOPENUMPROCW DESKTOPENUMPROCW
DRAWSTATEPROC DRAWSTATEPROC
...@@ -4264,19 +4238,15 @@ WINDOWPLACEMENT * ...@@ -4264,19 +4238,15 @@ WINDOWPLACEMENT *
WINEVENTPROC WINEVENTPROC
WINSTAENUMPROCA WINSTAENUMPROCA
WINSTAENUMPROCW WINSTAENUMPROCW
WND *
WNDCLASSA * WNDCLASSA *
WNDCLASSEXA * WNDCLASSEXA *
WNDCLASSEXW * WNDCLASSEXW *
WNDCLASSW * WNDCLASSW *
WNDENUMPROC WNDENUMPROC
WNDPROC WNDPROC
va_list
%ptr --extension
DLGPROC16
WND *
WNDPROC16 WNDPROC16
va_list
%str %str
......
...@@ -133,7 +133,6 @@ sub parse_api_file($$) { ...@@ -133,7 +133,6 @@ sub parse_api_file($$) {
my $module; my $module;
my $kind; my $kind;
my $format; my $format;
my $extension = 0;
my $forbidden = 0; my $forbidden = 0;
$output->lazy_progress("$file"); $output->lazy_progress("$file");
...@@ -154,13 +153,10 @@ sub parse_api_file($$) { ...@@ -154,13 +153,10 @@ sub parse_api_file($$) {
$kind = $1; $kind = $1;
$format = undef; $format = undef;
$forbidden = 0; $forbidden = 0;
$extension = 0;
$$allowed_kind{$kind} = 1; $$allowed_kind{$kind} = 1;
if(/^--forbidden/) { if(/^--forbidden/) {
$forbidden = 1; $forbidden = 1;
} elsif(/^--extension/) {
$extension = 1;
} elsif(/^--format=(\".*?\"|\S*)/) { } elsif(/^--format=(\".*?\"|\S*)/) {
$format = $1; $format = $1;
$format =~ s/^\"(.*?)\"$/$1/; $format =~ s/^\"(.*?)\"$/$1/;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment