Specmaker updates

Jon Griffiths tntjpgriff at tsnxt.co.uk
Thu Feb 15 18:11:38 CST 2001


Hi,

This patch improves the C++ demangling in specmaker, its now almost complete, 
all that remains is nested data types (e.g. function pointers). It also adds 
support for ordinal only exports and exported class data members like 
vtables. Some other helpers are output in the verbose stream like a warning 
that virtual functions should be added to the vtable.

I didn't get time to fully correct the generation of C++ prototypes to match 
the __thiscall convention, however the code gererated is closer now than 
before, so will need less manual intervention before it runs.

Since (AFAICS) there is no way with the currrent .spec files to forward to a 
specific ordinal, ordinal forwards are generated by name as destdll.DESTDLL_N 
where NNN = the ordinal number. Using this I was able to generate e.g. a 
forwarding commdlg.dll pretty trivially, but I haven't updated the README 
with an example.

This is my last patch for a while, I'll sync the rest of my tree in a few 
months once I'm back and have found a job...

Cheers,
Jon


Changelog:
   * tools/specmaker/README tools/specmaker/dll.c tools/specmaker/main.c
     tools/specmaker/msmangle.c tools/specmaker/output.c
     tools/specmaker/search.c tools/specmaker/specmaker.h
     tools/specmaker/symbol.c
     Jon Griffiths <jon_p_griffiths at yahoo.com>
     -Create entries for ordinal only exports, use ordinals if non-standard
     -Improve C++ demangler, recognise data types, fix some bugs


-- 
"Don't wait for the seas to part, or messiahs to come,
  Dont you sit around and waste this chance ..." -Live

tntjpgriff at tsnxt.co.uk , jon_p_griffiths at yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: specmaker.diff.bz2
Type: application/x-bzip2
Size: 8164 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010216/bf90021f/specmaker.diff.bin


More information about the wine-patches mailing list