return super().__init__()
def __str__(self):
- return f"oppc_transient(&(struct oppc_int){{}}, {self.__value}, {self.__bits})"
+ return f"oppc_transient(&(struct oppc_value){{}}, {self.__value}, {self.__bits})"
class CCall(pc_ast.Dataclass):
self.__code[self.__header].emit(stmt=f"oppc_{name}(void) {{")
with self.__code[self.__header]:
for decl in self.__decls:
- self.__code[self.__header].emit(stmt=f"struct oppc_int {decl};")
+ self.__code[self.__header].emit(stmt=f"struct oppc_value {decl};")
self.__code[self.__footer].emit(stmt=f"}}")
def __iter__(self):