Пример #1
0

import util

print "/* THIS FILE WAS AUTOGENERATED FROM view.h.py */"
print "#include <casper/cp/spexpr/expr.h>"
print "namespace Casper {"
util.printRel(False)
print "namespace Detail {"
util.printViews(False)
util.printExprWrapper(False)
util.printPost2(False)
util.printRef(False)
print "}"

print "}"
Пример #2
0
import os
import sys

libPath = os.path.abspath('casper/cp/spexpr')
sys.path.append(libPath)

import cputil
import util

print "/* THIS FILE WAS AUTOGENERATED FROM wrapper.h.py */"
print "#include <casper/kernel/spexpr/expr_wrapper.h>"
print "namespace Casper {"
util.printRel(True)
print "namespace Detail {"
cputil.printExprWrapper(True,"int")
util.printExprWrapper(True)
print "}"


print "}"