Commits

Juri Pakaste  committed 08eebd7

Removed an unused function

  • Participants
  • Parent commits 435a600

Comments (0)

Files changed (1)

File nsstringgen/NSStringFromEnumGenerator.py

                 self.files.popitem(last = False)
         return content[extent.start.offset:extent.end.offset]
 
-def extract_value(sourcefile, extent):
-    with open(sourcefile) as fo:
-        fo.seek(extent.start.offset)
-        bytes = fo.read(extent.end.offset - extent.start.offset)
-        return bytes
-
 def handle_enum(node, typedef_name, file_reader):
     # sys.stdout.write("\n".join(print_tree(node)) + "\n")