Commit 5694feee authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

API file update.

parent ec7d7b72
...@@ -284,6 +284,8 @@ LPWSTR ...@@ -284,6 +284,8 @@ LPWSTR
%long %long
int int
size_t
unsigned int
%ptr %ptr
...@@ -1187,6 +1189,8 @@ ULONGLONG ...@@ -1187,6 +1189,8 @@ ULONGLONG
%ptr %ptr
EXCEPTION_FRAME *
EXCEPTION_FRAME **
MSVCRT_EXCEPTION_FRAME * MSVCRT_EXCEPTION_FRAME *
MSVCRT_FILE * MSVCRT_FILE *
MSVCRT_compar_fn_t MSVCRT_compar_fn_t
...@@ -1220,11 +1224,10 @@ bad_typeid * ...@@ -1220,11 +1224,10 @@ bad_typeid *
char * char *
char ** char **
char *** char ***
cxx_exception_type *
exception * exception *
int * int *
struct MSVCRT_tm * struct MSVCRT_tm *
struct __EXCEPTION_FRAME *
struct __EXCEPTION_FRAME **
struct _diskfree_t * struct _diskfree_t *
struct _finddata_t * struct _finddata_t *
struct _stat * struct _stat *
...@@ -1429,6 +1432,7 @@ VOID * ...@@ -1429,6 +1432,7 @@ VOID *
struct _TEB * struct _TEB *
union cptable * union cptable *
void * void *
wine_signal_handler
%ptr --extension %ptr --extension
...@@ -1541,6 +1545,7 @@ LPFORMATETC ...@@ -1541,6 +1545,7 @@ LPFORMATETC
LPGUID LPGUID
LPLOCKBYTES * LPLOCKBYTES *
LPMALLOC * LPMALLOC *
LPMALLOCSPY
LPMARSHAL * LPMARSHAL *
LPMESSAGEFILTER LPMESSAGEFILTER
LPMESSAGEFILTER * LPMESSAGEFILTER *
...@@ -2220,7 +2225,6 @@ IUnknown ** ...@@ -2220,7 +2225,6 @@ IUnknown **
LPBROWSEINFOW LPBROWSEINFOW
LPBYTE LPBYTE
LPCITEMIDLIST LPCITEMIDLIST
LPCLSID
LPCSHLWAPI_CLIST LPCSHLWAPI_CLIST
LPCSTR * LPCSTR *
LPCVOID LPCVOID
...@@ -2233,17 +2237,17 @@ LPITEMIDLIST ...@@ -2233,17 +2237,17 @@ LPITEMIDLIST
LPOPENFILENAMEW LPOPENFILENAMEW
LPPAGESETUPDLGW LPPAGESETUPDLGW
LPPRINTDLGW LPPRINTDLGW
LPSECURITY_ATTRIBUTES
LPSHELLEXECUTEINFOW LPSHELLEXECUTEINFOW
LPSHFILEOPSTRUCTW LPSHFILEOPSTRUCTW
LPSHLWAPI_CLIST LPSHLWAPI_CLIST
LPSHLWAPI_CLIST * LPSHLWAPI_CLIST *
LPSTRRET LPSTRRET
LPUNKNOWN * LPTHREAD_START_ROUTINE
LPVOID LPVOID
LPVOID * LPVOID *
LPWORD LPWORD
LPWSTR * LPWSTR *
PACL
PHUSKEY PHUSKEY
PLONG PLONG
PSECURITY_DESCRIPTOR PSECURITY_DESCRIPTOR
...@@ -2253,6 +2257,7 @@ REFIID ...@@ -2253,6 +2257,7 @@ REFIID
SHFILEINFOW * SHFILEINFOW *
UINT * UINT *
ULARGE_INTEGER * ULARGE_INTEGER *
VOID *
WNDCLASSA * WNDCLASSA *
unsigned char * unsigned char *
va_list va_list
...@@ -2671,6 +2676,16 @@ LONG ...@@ -2671,6 +2676,16 @@ LONG
UINT UINT
WORD WORD
%%wineaudioio.drv
%long
DWORD
HDRVR
LONG
UINT
WORD
%%winedos.dll %%winedos.dll
%long %long
...@@ -2703,6 +2718,16 @@ LPARAM ...@@ -2703,6 +2718,16 @@ LPARAM
LRESULT LRESULT
UINT UINT
%%winenas.drv
%long
DWORD
HDRVR
LONG
WORD
UINT
%%wineoss.drv %%wineoss.drv
%long %long
...@@ -2777,6 +2802,7 @@ FILETIME ...@@ -2777,6 +2802,7 @@ FILETIME
HANDLE HANDLE
HINTERNET HINTERNET
HRESULT HRESULT
HWND
INTERNET_PORT INTERNET_PORT
%ptr %ptr
......
...@@ -250,7 +250,7 @@ sub parse_spec_file { ...@@ -250,7 +250,7 @@ sub parse_spec_file {
my $ordinal; my $ordinal;
if(/^(\d+|@)\s+ if(/^(\d+|@)\s+
(pascal|pascal16|stdcall|cdecl|varargs)\s+ (pascal|pascal16|stdcall|cdecl|varargs)\s+
((?:(?:-noimport|-norelay|-i386|-ret64|-register|-interrupt)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S+)$/x) ((?:(?:-noimport|-noname|-norelay|-i386|-ret64|-register|-interrupt)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S+)$/x)
{ {
my $calling_convention = $2; my $calling_convention = $2;
my $flags = $3; my $flags = $3;
...@@ -262,6 +262,10 @@ sub parse_spec_file { ...@@ -262,6 +262,10 @@ sub parse_spec_file {
$flags =~ s/\s+/ /g; $flags =~ s/\s+/ /g;
if($flags =~ /-noname/) {
# $external_name = "@";
}
if($flags =~ /(?:-register|-interrupt)/) { if($flags =~ /(?:-register|-interrupt)/) {
if($arguments) { $arguments .= " "; } if($arguments) { $arguments .= " "; }
$arguments .= "ptr"; $arguments .= "ptr";
...@@ -338,11 +342,18 @@ sub parse_spec_file { ...@@ -338,11 +342,18 @@ sub parse_spec_file {
} }
} }
} }
} elsif(/^(\d+|@)\s+stub(?:\s+(?:-noimport|-norelay|-i386|-ret64))?\s+(\S+)$/) { } elsif(/^(\d+|@)\s+stub(?:\s+(-noimport|-noname|-norelay|-i386|-ret64))?\s+(\S+)$/) {
my $external_name = $2;
$ordinal = $1; $ordinal = $1;
my $flags = $2;
my $external_name = $3;
$flags = "" if !defined($flags);
if($flags =~ /-noname/) {
# $external_name = "@";
}
my $internal_name = $external_name; my $internal_name = $external_name;
if ($external_name ne "@") { if ($external_name ne "@") {
......
...@@ -535,6 +535,14 @@ dlls/winmm/winearts ...@@ -535,6 +535,14 @@ dlls/winmm/winearts
dlls/winmm/winealsa dlls/winmm/winealsa
% dlls/winmm/wineaudioio/wineaudioio.drv.spec
dlls/winmm/wineaudioio
% dlls/winmm/winenas/winenas.drv.spec
dlls/winmm/winenas
% dlls/winmm/wineoss/wineoss.drv.spec % dlls/winmm/wineoss/wineoss.drv.spec
dlls/winmm/wineoss dlls/winmm/wineoss
......
...@@ -561,7 +561,9 @@ foreach my $file (@c_files) { ...@@ -561,7 +561,9 @@ foreach my $file (@c_files) {
if($check_protection && $header) { if($check_protection && $header) {
if((-e "$wine_dir/include/$header" || -e "$wine_dir/$file_dir/$header")) { if((-e "$wine_dir/include/$header" || -e "$wine_dir/$file_dir/$header")) {
if($header !~ /^(oleauto\.h|win(?:base|def|error|gdi|nls|nt|user)\.h)$/) { if($header !~ /^(oleauto\.h|win(?:base|def|error|gdi|nls|nt|user)\.h)$/ &&
$file_dir !~ /tests$/)
{
$output->write("$file: #include \<$header\> is a local include\n"); $output->write("$file: #include \<$header\> is a local include\n");
} }
} }
...@@ -577,6 +579,7 @@ foreach my $file (@c_files) { ...@@ -577,6 +579,7 @@ foreach my $file (@c_files) {
} elsif($macro =~ /^HAVE_(.*?)_H$/) { } elsif($macro =~ /^HAVE_(.*?)_H$/) {
my $name = $1; my $name = $1;
if($header !~ /^alloca\.h|sys\/time\.h|unistd\.h$/ && if($header !~ /^alloca\.h|sys\/time\.h|unistd\.h$/ &&
$file_dir !~ /tests$/ &&
!$preprocessor->is_def("STATFS_DEFINED_BY_$name")) !$preprocessor->is_def("STATFS_DEFINED_BY_$name"))
{ {
$output->write("$file: #$directive $argument: is a conditional include, " . $output->write("$file: #$directive $argument: is a conditional include, " .
......
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