Foreign.Marshal.Alloc questions
10 Aug
2006
10 Aug
'06
12:36 a.m.
For the allocation functions in Foreign.Marshall.Alloc, are the function contracts that return new pointers such that the pointers are never nullPtr, or is it prudent to always check the new ptr? I can see on GHC than allocaBytes uses newPinnedByteArray# but I have not tracked down the source file for that to read it. -- Chris Kuklewicz
7368
Age (days ago)
7368
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Kuklewicz