You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like we are going to have to use PointerArrays instead of voidpp and the like. We'll have to go through llvm.ts and see which functions are currently using pointer arguments when they should be using array arguments.
Yes, good point. I think it's technically possible for voidpp to work if the user carefully constructs their own Buffer full of pointer-sized numbers, but the new array types are certainly more ergonomic.
In llvm2, ref array types were used in places where this project used pointers (e.g. voidpp, int pointers, etc).
See https://github.com/dirk/llvm2/blob/master/lib/ref-types.js for definition of array types.
See https://github.com/dirk/llvm2/blob/master/lib/library.js for use of array types.
The text was updated successfully, but these errors were encountered: