atilaneves / dpp

Directly include C headers in D source code
Boost Software License 1.0
229 stars 31 forks source link

size_t, diffptr_t and others are translated to fixed size types #300

Closed Temtaime closed 2 years ago

Temtaime commented 2 years ago

size_t is translated to uint/ulong depending on dpp flags, so generated .d files are not reusable for different archs. I think that we can track such types and do not translate them to underlying types.

atilaneves commented 2 years ago

The generated .d files aren't supposed to be reusable - the point is to run dpp for each platform. The .d files are build artifacts.