Accept function pointers for call/invoke (thanks to Jonathan Bastien-Filiatrault)

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@41 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2008-09-14 08:58:05 +00:00
commit b873cb8bea
2 changed files with 19 additions and 4 deletions

View file

@ -94,7 +94,8 @@ def do_type():
Type.struct([ti]*100)
Type.packed_struct([ti]*100)
Type.array(ti, 100)
Type.pointer(ti, 4)
ptr = Type.pointer(ti, 4)
pte = ptr.pointee
Type.vector(ti, 100)
Type.void()
Type.label()