[GHC] #9859: Implement `calloc{,Bytes,Array,Array0}` allocators
#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
#9859: Implement `calloc{,Bytes,Array,Array0}` allocators -------------------------------------+------------------------------------- Reporter: ifesdjeen | Owner: Type: feature | Status: patch request | Milestone: 7.10.1 Priority: normal | Version: Component: Core | Keywords: ffi Libraries | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D527 | -------------------------------------+------------------------------------- Changes (by hvr): * status: new => patch * cc: core-libraries-committee@… (added) * differential: D527 => Phab:D527 * component: libraries/base => Core Libraries * version: 7.8.3 => Old description:
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]
New description: 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. Proposal Discussion: https://www.haskell.org/pipermail/libraries/2014-November/024421.html -- -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9859#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9859: Implement `calloc{,Bytes,Array,Array0}` allocators -------------------------------------+------------------------------------- Reporter: ifesdjeen | Owner: Type: feature | Status: patch request | Milestone: 7.10.1 Priority: normal | Version: Component: Core | Keywords: ffi Libraries | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D527 | -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"08610c1fdc7816c74faed40f8a7d3c4b4758709e/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="08610c1fdc7816c74faed40f8a7d3c4b4758709e" Implement `calloc{,Bytes,Array,Array0}` allocators Summary: This adds zero-initialising versions of `malloc{,Bytes,Array,Array0}` * Add `calloc` and `callocBytes` to `Foreign.Marshal.Alloc`. * Add `callocArray` and `callocArray0` to `Foreign.Marshal.Array`. Reviewers: ekmett, duncan, austin, hvr Reviewed By: austin, hvr Subscribers: ezyang, simonmar, ekmett, duncan, thomie, carter Projects: #ghc Differential Revision: https://phabricator.haskell.org/D527 GHC Trac Issues: #9859 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9859#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9859: Implement `calloc{,Bytes,Array,Array0}` allocators -------------------------------------+------------------------------------- Reporter: ifesdjeen | Owner: Type: feature | Status: closed request | Milestone: 7.10.1 Priority: normal | Version: Component: Core | Keywords: ffi Libraries | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D527 | -------------------------------------+------------------------------------- Changes (by hvr): * status: patch => closed * resolution: => fixed Comment: patch landed; let's close this for now -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9859#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC