(docs)
| 148 | return '%s %s(%s)' % (ret_type, decl['name'], ', '.join(args)) |
| 149 | |
| 150 | def add_c_docs(docs): |
| 151 | for doc in docs['items']: |
| 152 | if not 'name' in doc: |
| 153 | import pprint |
| 154 | pprint.pp(doc) |
| 155 | name = doc['name'] |
| 156 | out = gen_doc(docs, name, name, indent=0, language='C') |
| 157 | l(out) |
| 158 | l('') |
| 159 | |
| 160 | def gen_cpp_header(basepath, c_header_path, out_path, info, ast, state, includes, docs): |
| 161 | _reset_globals() |
no test coverage detected