jacob-carlborg / dstep

A tool for converting C and Objective-C headers to D modules
204 stars 37 forks source link

Missing import #273

Open trikko opened 2 years ago

trikko commented 2 years ago

test.h:

typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;

test.d:

extern (C):

alias __gnuc_va_list = __va_list_tag[1];
alias va_list = __va_list_tag[1];

test.d is missing import core.stdc.stdarg;

trikko commented 2 years ago

I didn't see this one: https://github.com/jacob-carlborg/dstep/issues/34

... but I found a way to recreate it with a simple case!

jacob-carlborg commented 2 years ago

... but I found a way to recreate it with a simple case!

That's great.