C/OCaml API to retrieve struct name.