it doesn't solve the issue, as you still have to deal with two types when you 
need both owned and not owned version Nim side
    
    
    type
      MyOwnedCString = Owned[cstring]
      MyBorrowedCstring = cstring
    
    
    Run

Reply via email to