Just to make sure you're answering the exact question I asked :) — if I declare 
a C proc that takes an `openarray`, when Nim calls that function does it pass 
that parameter as a pointer followed by an int? For example:
    
    
    proc set_bytes(bytes: openarray[byte]) {.importc: "set_bytes".}
    
    let data: seq[byte] = @[1, 2, 3, 4]
    set_bytes(foo, data)
    
    
    Run

Will this work going forward? (I could try it out myself, but that only means 
it works in Nim 1.2, not that it's expected/supported...)

Reply via email to