I don't think you can cast it to a seq since seqs are GC-managed.
    
    
    let a = cast[ptr UncheckedArray[YOUR_TYPE]](your_pointer)
    

Reply via email to