diff options
| author | Xavier Leroy <xavier.leroy@inria.fr> | 2000-04-28 11:32:07 +0000 |
|---|---|---|
| committer | Xavier Leroy <xavier.leroy@inria.fr> | 2000-04-28 11:32:07 +0000 |
| commit | 96ce6abe031f87c6f64f3552c01516fa798981ca (patch) | |
| tree | 331165b802ac8068f65e7a59e8a29445f614ae5a /otherlibs/bigarray/bigarray.ml | |
| parent | 8a26b3dda20462b024924d55c4e4c548c1b132ad (diff) | |
| download | ocaml-96ce6abe031f87c6f64f3552c01516fa798981ca.tar.gz | |
Forcer bigarray_get_{1,2,3,N} a etre linkees en cas de ocamlmktop ou ocamlc -linkall
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/bigarray/bigarray.ml')
| -rw-r--r-- | otherlibs/bigarray/bigarray.ml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/otherlibs/bigarray/bigarray.ml b/otherlibs/bigarray/bigarray.ml index f649fad1dc..f3a7589225 100644 --- a/otherlibs/bigarray/bigarray.ml +++ b/otherlibs/bigarray/bigarray.ml @@ -188,3 +188,13 @@ let array2_of_genarray a = let array3_of_genarray a = if Genarray.num_dims a = 3 then a else invalid_arg "Bigarray.array3_of_genarray" +(* Force bigarray_get_{1,2,3,N} to be linked in, since we don't refer + to those primitives directly in this file *) + +let _ = + let getN = Genarray.get in + let get1 = Array1.get in + let get2 = Array2.get in + let get3 = Array3.get in + () + |
