Return an include command for a generated API interface - type - type of the API, e.g. 'flags', 'handles', etc - name - name of the API
(type, name)
| 90 | |
| 91 | |
| 92 | def makeAPIInclude(type, name): |
| 93 | """Return an include command for a generated API interface |
| 94 | - type - type of the API, e.g. 'flags', 'handles', etc |
| 95 | - name - name of the API""" |
| 96 | |
| 97 | return 'include::{}/api/{}/{}{}\n'.format( |
| 98 | conventions.generated_include_path, |
| 99 | type, name, conventions.file_suffix) |
| 100 | |
| 101 | |
| 102 | def isextension(name): |
no outgoing calls
no test coverage detected