Fix ignored name arg
This commit is contained in:
parent
238ea0e453
commit
a5f6f2596f
1 changed files with 1 additions and 1 deletions
|
|
@ -730,7 +730,7 @@ class Type(llvm.Wrapper):
|
||||||
otherwise, creates a literal type."""
|
otherwise, creates a literal type."""
|
||||||
context = api.llvm.getGlobalContext()
|
context = api.llvm.getGlobalContext()
|
||||||
is_packed = True
|
is_packed = True
|
||||||
ptr = api.llvm.StructType.create(context)
|
ptr = api.llvm.StructType.create(context, name)
|
||||||
ptr.setBody(llvm._extract_ptrs(element_tys), is_packed)
|
ptr.setBody(llvm._extract_ptrs(element_tys), is_packed)
|
||||||
return StructType(ptr)
|
return StructType(ptr)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue