diff options
Diffstat (limited to 'pkg/codesearch/testdata/source0.c.json')
| -rw-r--r-- | pkg/codesearch/testdata/source0.c.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkg/codesearch/testdata/source0.c.json b/pkg/codesearch/testdata/source0.c.json new file mode 100644 index 000000000..d33aa360c --- /dev/null +++ b/pkg/codesearch/testdata/source0.c.json @@ -0,0 +1,41 @@ +{ + "definitions": [ + { + "kind": "function", + "name": "close", + "type": "int ()", + "body": { + "file": "source0.c", + "start_line": 14, + "end_line": 17 + }, + "comment": {} + }, + { + "kind": "function", + "name": "function_with_comment_in_header", + "type": "void ()", + "body": { + "file": "source0.c", + "start_line": 19, + "end_line": 22 + }, + "comment": {} + }, + { + "kind": "function", + "name": "open", + "type": "int ()", + "body": { + "file": "source0.c", + "start_line": 6, + "end_line": 12 + }, + "comment": { + "file": "source0.c", + "start_line": 6, + "end_line": 8 + } + } + ] +}
\ No newline at end of file |
