blob: 3875b2a1427630a9d63d05ffcfb0ed1a84b4f3cb [file] [log] [blame]
(* This example was mostly lifted from the guile example directory *)
open Swig
open Example
let v = new_StringVector '()
let _ =
for i = 0 to (Array.length Sys.argv) - 1 do
let str = (Sys.argv.(i)) to string in ignore(v -> push_back (str))
done
let _ = _vec_write '(v)