| Anonymous | Login | Signup for a new account | 2013-06-18 09:24 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0003997 | OCaml | OCaml otherlibs | public | 2006-04-03 15:30 | 2012-06-21 20:16 | ||||||
| Reporter | sayan | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.09.1 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0003997: Allocating a bigarray from C | ||||||||||
| Description | Please add the following comment to the bigarray documentation: /* [alloc_bigarray] will allocate a new bigarray object in the heap. If [data] is NULL, the memory for the contents is also allocated (with [malloc]) by [alloc_bigarray]. [data] cannot point into the Caml heap. [dim] may point into an object in the Caml heap. */ | ||||||||||
| Additional Information | This is a simple and GC-friendly way to allocate memory for a bigarray structure directly within C instead of calling Bigarray.genarray.create in Caml. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2006-04-03 15:30 | sayan | New Issue | |
| 2006-08-29 17:45 | doligez | Severity | minor => feature |
| 2006-08-29 17:45 | doligez | Status | new => acknowledged |
| 2012-06-21 20:16 | frisch | Category | OCaml documentation => OCaml otherlibs |
| Copyright © 2000 - 2011 MantisBT Group |