Ready for numba/llnumba -> llvmpy/llpython
This commit is contained in:
parent
6d19096438
commit
bbc7a4ddf0
15 changed files with 0 additions and 0 deletions
23
llpython/tests/llfunctys.py
Normal file
23
llpython/tests/llfunctys.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#! /usr/bin/env python
|
||||
# ______________________________________________________________________
|
||||
|
||||
import llvm.core as lc
|
||||
|
||||
try:
|
||||
from llnumba import bytetype
|
||||
except ImportError:
|
||||
from numba.llnumba import bytetype
|
||||
|
||||
# ______________________________________________________________________
|
||||
|
||||
doslice = lc.Type.function(bytetype.li8_ptr, (
|
||||
bytetype.li8_ptr, bytetype.lc_size_t, bytetype.lc_size_t))
|
||||
|
||||
ipow = lc.Type.function(bytetype.li32, (bytetype.li32,
|
||||
bytetype.li32))
|
||||
|
||||
pymod = lc.Type.function(bytetype.li32, (bytetype.li32,
|
||||
bytetype.li32))
|
||||
|
||||
# ______________________________________________________________________
|
||||
# End of llfunctys.py
|
||||
Loading…
Add table
Add a link
Reference in a new issue