missing-foreign-0.1.1: Convenience functions for FFI work
Foreign.Marshal.MissingUtils
Contents
Description
Utilities for primitive marshaling
Synopsis
(argument order: destination, source)
copy :: Storable a => Ptr a -> Ptr a -> IO ()Source
Uses sizeOf to copy bytes from the second area (source) into the first (destination); the copied areas may not overlap
sizeOf
move :: Storable a => Ptr a -> Ptr a -> IO ()Source
Uses sizeOf to copy bytes from the second area (source) into the first (destination); the copied areas may overlap