arik-so / ldk-parser

0 stars 2 forks source link

Fix Vecs to not instantiate primitives with `pointer:` #10

Closed arik-so closed 1 year ago

arik-so commented 1 year ago

Example issue occurs in Vec_CVec_u8ZZ:

let swiftArray = array.map { (currentCType) in
    currentCType.map { (currentCType) in
        UInt8(pointer: currentCType)
    }
}