From de13a0020b11c7bc20da3c3cba9c8b211a869d73 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 3 Sep 2022 05:37:13 +0100 Subject: [PATCH] Ocaml typemap typo fix --- Lib/ocaml/ocaml.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ocaml/ocaml.swg b/Lib/ocaml/ocaml.swg index 09270509d..703b7e448 100644 --- a/Lib/ocaml/ocaml.swg +++ b/Lib/ocaml/ocaml.swg @@ -311,7 +311,7 @@ SIMPLE_MAP(unsigned long long,caml_val_ulong,caml_long_val); /* Array reference typemaps */ %apply SWIGTYPE & { SWIGTYPE ((&)[ANY]) } -%apply SWIGTYPE && { SWIGTYPE ((&)[ANY]) } +%apply SWIGTYPE && { SWIGTYPE ((&&)[ANY]) } /* const pointers */ %apply SWIGTYPE * { SWIGTYPE *const }