Mercurial > lcfOS
view python/ppci/core/context.py @ 140:104037b292cc
Added ui file for hexeditor
author | Windel Bouwman |
---|---|
date | Sun, 27 Jan 2013 12:16:09 +0100 |
parents | 9e552d34bd60 |
children |
line wrap: on
line source
from .llvmtype import IntegerType, llvmType, typeID, FunctionType class Context: """ Global context """ def __init__(self): self.Int8Type = IntegerType(8) self.Int16Type = IntegerType(16) self.Int32Type = IntegerType(32) self.Int64Type = IntegerType(64) self.VoidType = llvmType(typeID.Void) self.DoubleType = llvmType(typeID.Double)