Finished wrapper in llvm.core
This commit is contained in:
parent
8700bbc4f1
commit
1fb6b05715
3 changed files with 1980 additions and 230 deletions
|
|
@ -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]
|
||||
2196
llvm/core.py
2196
llvm/core.py
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue