objdictgen/node.py
changeset 523 8db762eb756b
parent 513 f0343a7457b8
child 536 00935990f087
equal deleted inserted replaced
522:e69d5903a5b2 523:8db762eb756b
  1041 #-------------------------------------------------------------------------------
  1041 #-------------------------------------------------------------------------------
  1042 #                            Type helper functions
  1042 #                            Type helper functions
  1043 #-------------------------------------------------------------------------------
  1043 #-------------------------------------------------------------------------------
  1044 
  1044 
  1045     def IsStringType(self, index):
  1045     def IsStringType(self, index):
  1046         if index in (0x9, 0xA, 0xB):
  1046         if index in (0x9, 0xA, 0xB, 0xF):
  1047             return True
  1047             return True
  1048         elif 0xA0 <= index < 0x100:
  1048         elif 0xA0 <= index < 0x100:
  1049             result = self.GetEntry(index, 1)
  1049             result = self.GetEntry(index, 1)
  1050             if result is not None and result in (0x9, 0xA, 0xB):
  1050             if result is not None and result in (0x9, 0xA, 0xB):
  1051                 return True
  1051                 return True