[Haskell-cafe] allocation for "pure" FFI functions