Yet another effort at translating the Win32 API headers
Don Clugston
dac at nospam.com.au
Wed May 10 05:06:34 PDT 2006
Stewart Gordon wrote:
> 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?
Of course. Given a program that creates the text file, it's trivial to
modify it to make the D code. It was just easier to explain the text file...
>>> 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.
Yes. typo.
>
> Stewart.
>
More information about the Digitalmars-d-announce
mailing list