Finished wrapper in llvm.core

This commit is contained in:
Siu Kwan Lam 2013-02-08 18:13:45 -06:00
commit 1fb6b05715
3 changed files with 1980 additions and 230 deletions

3
.gitignore vendored
View file

@ -2,4 +2,7 @@
build
_build
*.pyc
*.so
/llvm/_intrinsic_ids.py
llvm_
newbinding/api/*

View file

@ -0,0 +1,11 @@
class Wrapper(object):
def __init__(self, ptr):
self.__ptr = ptr
@property
def _ptr(self):
return self.__ptr
def _extract_ptrs(objs):
return [x._ptr for x in objs]

File diff suppressed because it is too large Load diff