Yet another effort at translating the Win32 API headers

Stewart Gordon smjg_1998 at yahoo.com
Wed May 10 04:54:26 PDT 2006


Don Clugston wrote:
> DBloke wrote:
<snip>
>> So you just want a utility that takes a D file as input scans it and 
>> dumps out a text file with all functions in that file?
<snip>
>> Output File ABC.txt
>> FuncA
>> FuncX
>> FuncZ
> 
> That's exactly right.

Why not make the program generate the D code straight off?

>> If you give me some more info, I will give it a go, and maybe create a 
>> file that calls these functions too as well as just text files, but I 
>> need more specifics
> 
> Ultimately we want to create testABC.txt, which is:
> 
> import ABC;
> 
> void main()
> {
>   auto f1 = &ABC.FuncA;
>   auto f2 = &ABC.FuncX;
>   auto f3 = &ABC.FuncZ;
> }

I'd thought it had to have a .d extension to work.

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- 
PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on 
the 'group where everyone may benefit.



More information about the Digitalmars-d-announce mailing list