
1 Aug
2008
1 Aug
'08
1:53 a.m.
Hello Vasili, Friday, August 1, 2008, 9:08:05 AM, you wrote:
Is a (Ptr (Ptr a)) a polymorphic representation of an array of pointers of type "a"? I want to pass an array of pointers to a C function.
use Ptr (Ptr ()) Ptr () in haskell is like void* in C, it's used to represent pointer to arbitrary type. you can use castPtr to cast pointers between different types -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com