cleanup and doc
This commit is contained in:
parent
8b45094e20
commit
68e2359ad2
4 changed files with 406 additions and 56 deletions
8
llvm_cbuilder/libc.py
Normal file
8
llvm_cbuilder/libc.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from .builder import CExternal
|
||||
import llvm.core as lc
|
||||
from . import shortnames as types
|
||||
|
||||
class LibC(CExternal):
|
||||
printf = lc.Type.function(types.int, [types.char_p], True)
|
||||
# TODO a lot more to add
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue