utility to make sure python constants get converted to C2Constant objects in subclasses
Definition at line 257 of file C2Functions.py. 00257 : 00258 "convert constants to C2Constants" 00259 import operator 00260 if type(arg) is types.FloatType or type(arg) is types.IntType: 00261 return C2Constant(arg) 00262 else: 00263 return arg
|