code: def process_typedef(self, line):
          
          content = line.split(' ')
          type_ = self.type_dict[content[1]]
  
          if type_ == 'c_char' and '[' in line:
              # type_ = 'string'
              type_ = '%s*%s' % (type_, line[line.index('[') + 1:line.index(']')])
  
          keyword = content[2]
          if '[' in keyword:
              i = keyword.index('[')
              keyword = keyword[:i]
          else:
              keyword = keyword.replace(';\n', '')  # 删除行末分号
  
          py_line = 'typedefDict["%s"] = "%s"\n' % (keyword, type_)
  
          return py_line
docs: 处理类型申明