implemented llvm-structtype wrapper function