[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

#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