20 lines
662 B
Python
20 lines
662 B
Python
#! /usr/bin/env python
|
|
# ______________________________________________________________________
|
|
|
|
import llvm.core as lc
|
|
|
|
from llpython 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
|