Add download event callback API and its example

This commit is contained in:
Tatsuhiro Tsujikawa 2013-05-11 19:40:24 +09:00
parent 1c571f196a
commit e350df2d75
7 changed files with 191 additions and 5 deletions

View file

@ -107,6 +107,8 @@ def make_api_ref(infiles):
doctype = line.split()[1]
if doctype == '@function':
functions.append(process_function('function', infile))
if doctype == '@functypedef':
types.append(process_function('c:type', infile))
elif doctype == '@typedef':
types.append(process_typedef(infile))
elif doctype in ['@class', '@struct', '@union']: