[GHC] #9859: Implement `calloc{,Bytes,Array,Array0}` allocators
GHC
ghc-devs at haskell.org
Wed Dec 3 22:31:49 UTC 2014
#9859: Implement `calloc{,Bytes,Array,Array0}` allocators
-------------------------------------+-------------------------------------
Reporter: ifesdjeen | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.10.1
Component: libraries/base | Version: 7.8.3
Keywords: ffi | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Easy (less than 1 | Type of failure:
hour) | None/Unknown
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions: D527
-------------------------------------+-------------------------------------
Add zero-initialising versions of malloc{,Bytes,Array,Array0}
* Add calloc and callocBytes to Foreign.Marshal.Alloc.
* Add callocArray and callocArray0 to Foreign.Marshal.Array.
Implemented in revision: [https://phabricator.haskell.org/D527]
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9859>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list