[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Florent Monnier <fmonnier@l...> |
| Subject: | BA: external managed data freed at finalisation |
Hi, When a bigarray is created from C, where its data part is allocated from a C function, I would like to know how to handle the finalisation of this ba ? Will ocaml make the free() call on the data part when it will be finalised ? Should one associates a finalisation function and how ? bigarray_managed = BIGARRAY_EXTERNAL // Data is not allocated by Caml -- Thanks Florent