Mercurial > lcfOS
comparison python/outstream.py @ 337:b00219172a42
Added cool lm3s811 qemu project
author | Windel Bouwman |
---|---|
date | Thu, 20 Feb 2014 20:04:52 +0100 |
parents | 582a1aaa3983 |
children | 4d204f6f7d4e |
comparison
equal
deleted
inserted
replaced
336:d1ecc493384e | 337:b00219172a42 |
---|---|
65 while section.Size % item.align != 0: | 65 while section.Size % item.align != 0: |
66 section.add_data(bytes([0])) | 66 section.add_data(bytes([0])) |
67 | 67 |
68 def selectSection(self, sname): | 68 def selectSection(self, sname): |
69 self.currentSection = self.obj_file.get_section(sname) | 69 self.currentSection = self.obj_file.get_section(sname) |
70 | |
71 | |
72 class DummyOutputStream(OutputStream): | |
73 def emit(self, item): | |
74 pass | |
75 | |
76 def selectSection(self, sname): | |
77 pass |