Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003997OCamlotherlibspublic2006-04-03 15:302015-01-23 12:50
Assigned To 
PlatformOSOS Version
Product Version3.09.1 
Target VersionFixed in Version 
Summary0003997: Allocating a bigarray from C
DescriptionPlease 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 InformationThis 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.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- 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
2013-09-03 17:06 doligez Tag Attached: patch
2017-02-23 16:42 doligez Category OCaml otherlibs => otherlibs

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker