diff options
Diffstat (limited to 'libraries/base')
-rw-r--r-- | libraries/base/Foreign/Marshal/Alloc.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/base/Foreign/Marshal/Alloc.hs b/libraries/base/Foreign/Marshal/Alloc.hs index 76398b80a6..3d20393368 100644 --- a/libraries/base/Foreign/Marshal/Alloc.hs +++ b/libraries/base/Foreign/Marshal/Alloc.hs @@ -37,6 +37,11 @@ -- aligned for that type. Array allocation routines need to obey the same -- alignment constraints for each array element. -- +-- The underlying implementation is wrapping the @<stdlib.h>@ +-- @malloc@, @realloc@, and @free@. +-- In other words it should be safe to allocate using C-@malloc@, +-- and free memory with 'free' from this module. +-- ----------------------------------------------------------------------------- module Foreign.Marshal.Alloc ( |