Add initial vector support

This commit is contained in:
Siu Kwan Lam 2012-08-21 12:25:48 -05:00
commit 5319fb8c98
3 changed files with 74 additions and 8 deletions

View file

@ -61,7 +61,6 @@ class CExecutor(object):
else:
retty = typeinfo[0]
argtys = typeinfo[1:]
prototype = ct.CFUNCTYPE(retty, *argtys)
fnptr = self.engine.get_pointer_to_function(fn)
return prototype(fnptr)