c2nim icon indicating copy to clipboard operation
c2nim copied to clipboard

Some types should be changed automatically

Open sheosi opened this issue 10 years ago • 1 comments

c2nim leaves all types as they are, when it should change those builtin in C to fit Nim's ones.Some of them: uint32_t -> uint32 double -> float64 ...

sheosi avatar Jan 25 '15 10:01 sheosi

As a workaround this works:

#  mangle uint8_t uint8
#  mangle uint16_t uint16
#  mangle uint32_t uint32

def- avatar Feb 16 '15 22:02 def-