- Minor API update.

- Minor bug fixes.
This commit is contained in:
Patrik Stridvall 2002-03-11 01:17:04 +00:00 committed by Alexandre Julliard
parent e4745cbfe9
commit eb8a93cf66
6 changed files with 20 additions and 7 deletions

View File

@ -47,11 +47,11 @@ sub new {
my $conditional_functions = \%{$self->{CONDITIONAL_FUNCTIONS}}; my $conditional_functions = \%{$self->{CONDITIONAL_FUNCTIONS}};
my $api_file = "$winapi_check_dir/nativeapi.dat"; my $api_file = "$winapi_check_dir/nativeapi.dat";
my $configure_in_file = "$wine_dir/configure.in"; my $configure_ac_file = "$wine_dir/configure.ac";
my $config_h_in_file = "$wine_dir/include/config.h.in"; my $config_h_in_file = "$wine_dir/include/config.h.in";
$api_file =~ s/^\.\///; $api_file =~ s/^\.\///;
$configure_in_file =~ s/^\.\///; $configure_ac_file =~ s/^\.\///;
$config_h_in_file =~ s/^\.\///; $config_h_in_file =~ s/^\.\///;
$output->progress("$api_file"); $output->progress("$api_file");
@ -67,10 +67,10 @@ sub new {
} }
close(IN); close(IN);
$output->progress("$configure_in_file"); $output->progress("$configure_ac_file");
my $again = 0; my $again = 0;
open(IN, "< $configure_in_file"); open(IN, "< $configure_ac_file");
local $/ = "\n"; local $/ = "\n";
while($again || (defined($_ = <IN>))) { while($again || (defined($_ = <IN>))) {
$again = 0; $again = 0;

View File

@ -50,8 +50,10 @@ LPSERVICE_STATUS
LPSERVICE_TABLE_ENTRYA LPSERVICE_TABLE_ENTRYA
LPSERVICE_TABLE_ENTRYW LPSERVICE_TABLE_ENTRYW
LPVOID LPVOID
LPVOID *
PACL PACL
PACL * PACL *
PBOOL
PDWORD PDWORD
PGENERIC_MAPPING PGENERIC_MAPPING
PHANDLE PHANDLE

View File

@ -42,6 +42,7 @@ IPersistStream *
IStorage * IStorage *
IStorage ** IStorage **
IStream * IStream *
IUnknown *
LPBC LPBC
LPBC * LPBC *
LPCLSID LPCLSID
@ -55,6 +56,7 @@ LPFORMATETC
LPGUID LPGUID
LPLOCKBYTES * LPLOCKBYTES *
LPMALLOC * LPMALLOC *
LPMARSHAL *
LPMESSAGEFILTER LPMESSAGEFILTER
LPMESSAGEFILTER * LPMESSAGEFILTER *
LPMONIKER LPMONIKER
@ -70,6 +72,7 @@ LPOLEOBJECT
LPOLESTREAM LPOLESTREAM
LPOLESTR * LPOLESTR *
LPPERSISTSTORAGE LPPERSISTSTORAGE
LPSTREAM
LPRUNNINGOBJECTTABLE * LPRUNNINGOBJECTTABLE *
LPUNKNOWN LPUNKNOWN
LPUNKNOWN * LPUNKNOWN *
@ -84,6 +87,7 @@ REFGUID
REFIID REFIID
SNB SNB
STGMEDIUM * STGMEDIUM *
ULONG *
WORD * WORD *
void * void *
void ** void **

View File

@ -27,7 +27,6 @@ RPC_STATUS *
UUID * UUID *
unsigned char ** unsigned char **
unsigned short unsigned short
void *
%str %str

View File

@ -37,6 +37,7 @@ int
%ptr %ptr
BOOL * BOOL *
CLSID *
DLLVERSIONINFO * DLLVERSIONINFO *
HICON * HICON *
IFACE_INDEX_TBL * IFACE_INDEX_TBL *
@ -51,6 +52,7 @@ LPCSTR *
LPCVOID LPCVOID
LPCWSTR * LPCWSTR *
LPDWORD LPDWORD
LPDWORD *
LPHWND LPHWND
LPINT LPINT
LPITEMIDLIST LPITEMIDLIST
@ -64,13 +66,16 @@ LPUNKNOWN *
LPVOID LPVOID
LPVOID * LPVOID *
LPWORD LPWORD
PACL
PHUSKEY PHUSKEY
PSECURITY_DESCRIPTOR
PVOID PVOID
REFIID REFIID
REFGUID REFGUID
SHFILEINFOW * SHFILEINFOW *
unsigned char * UINT *
WNDCLASSA * WNDCLASSA *
unsigned char *
%ptr --extension %ptr --extension

View File

@ -510,7 +510,10 @@ foreach my $file (@c_files) {
if($macro =~ /^HAVE_X11/) { if($macro =~ /^HAVE_X11/) {
# Do nothing X Windows is handled differently # Do nothing X Windows is handled differently
} elsif($macro =~ /^HAVE_(.*?)_H$/) { } elsif($macro =~ /^HAVE_(.*?)_H$/) {
if($header ne "alloca.h" && !$preprocessor->is_def("STATFS_DEFINED_BY_$1")) { my $name = $1;
if($header !~ /^alloca\.h|sys\/time\.h|unistd\.h$/ &&
!$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, " .
"but is not protected\n"); "but is not protected\n");
} }