ImportC + -H = bindings

Kapendev alexandroskapretsos at gmail.com
Fri Apr 24 15:40:13 UTC 2026


On Friday, 24 April 2026 at 14:30:20 UTC, jmh530 wrote:
> On Friday, 24 April 2026 at 14:28:14 UTC, Serg Gini wrote:
>> On Friday, 24 April 2026 at 13:52:48 UTC, Lance Bachmeier 
>> wrote:
>>> This would be a good addition to the compiler if the two of 
>>> us working independently were able to solve the problem. In 
>>> an alternative world where it's worth one's time to propose 
>>> such things, it would make a great addition to the compiler.
>>
>> I agree. This addition to the compiler functionality of 
>> ImportC could be useful.
>
> If all the kinks get worked out and people start making a lot 
> of use of it, then it's an easier sell to get in compiler.

Yeah, and I think that the compiler doesn't need to do everything 
the script does. One QoL things would be to automatically change 
names like `alias` to `alias_` when using the `-H` flag so it's 
easier for people to modify the output.


More information about the Digitalmars-d mailing list