jacob-carlborg / dstep

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

`#define` of types results in incorrect output #199

Closed SirSireesh closed 6 years ago

SirSireesh commented 6 years ago

eg:

test.h:

#define __le64 uint64_t;

dstep output: test.d:

enum __le64 = uint64_t;

tested on macOS 10.13 with dstep master