cleanup and doc

This commit is contained in:
Siu Kwan Lam 2012-08-08 15:17:31 -07:00
commit 68e2359ad2
4 changed files with 406 additions and 56 deletions

8
llvm_cbuilder/libc.py Normal file
View 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