I am getting the following code (an extract) after executing `c2nim`:
    
    
    when defined(STRICTUNZIP) or defined(STRICTZIPUNZIP):
      ##  like the STRICT of WIN32, we define a pointer that cannot be converted
      ##     from (void*) without cast
      type
        unzFile__* {.bycopy.} = object
          unused*: cint
        
        unzFile* = ptr unzFile__
    else:
      type
        unzFile* = voidp
    
    Run

But when I try to use it, it complains about the trainling underscore:
    
    
    unzip.nim(63, 5) Error: invalid token: trailing underscore

which is the line:
    
    
    unzFile__* {.bycopy.} = object
    
    Run

What can I do? 

Reply via email to