{"action":"created","comment":{"url":"https://api.github.com/repos/universal-ctags/ctags/pulls/comments/278715772","pull_request_review_id":230864300,"id":278715772,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3ODcxNTc3Mg==","diff_hunk":"@@ -27,6 +27,11 @@ static tagWriter *writerTable [WRITER_COUNT] = {\n \n static tagWriter *writer;\n \n+extern void setCustomTagWriter(tagWriter *w)","path":"main/writer.c","position":4,"original_position":4,"commit_id":"18b6e11a336703fa854c093310a86ebb6366b5c4","original_commit_id":"18b6e11a336703fa854c093310a86ebb6366b5c4","user":{"login":"techee","id":713965,"node_id":"MDQ6VXNlcjcxMzk2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/713965?v=4","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"body":"Currently this isn't very clean because we have to re-use some of the predefined parser types - the demo uses WRITER_U_CTAGS but there should be some support for custom writer type.","created_at":"2019-04-25T20:20:45Z","updated_at":"2019-04-25T20:20:46Z","html_url":"https://github.com/universal-ctags/ctags/pull/2085#discussion_r278715772","pull_request_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/comments/278715772"},"html":{"href":"https://github.com/universal-ctags/ctags/pull/2085#discussion_r278715772"},"pull_request":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085"}}},"pull_request":{"url":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085","id":273666964,"node_id":"MDExOlB1bGxSZXF1ZXN0MjczNjY2OTY0","html_url":"https://github.com/universal-ctags/ctags/pull/2085","diff_url":"https://github.com/universal-ctags/ctags/pull/2085.diff","patch_url":"https://github.com/universal-ctags/ctags/pull/2085.patch","issue_url":"https://api.github.com/repos/universal-ctags/ctags/issues/2085","number":2085,"state":"open","locked":false,"title":"Sample client app using ctags as a library plus all the related changes in ctags","user":{"login":"techee","id":713965,"node_id":"MDQ6VXNlcjcxMzk2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/713965?v=4","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"body":"This patch demonstrates how we use ctags in Geany as a library. The\r\npatch tries to be minimalistic to demonstrate only the things we\r\nneed in ctags so it just directly replaces the ctags code with what\r\nwe need and the generated \"ctags\" binary is the demo app. For this\r\nto be mergeable to ctags, there have to be some ifdefs specifying\r\nwhether ctags should be compiled as a library and mini-geany has\r\nto be a separate binary.\r\n\r\n@masatake Here you are - this should give you a pretty detailed idea about how we use ctags in Geany. I'll definitely welcome any suggestions if you think some of the ctags changes can be done in a better way - you are definitely more familiar with it than I am and I could have missed some things.\r\n\r\nFor anyone interested in the related discussion in Geany, please see https://github.com/geany/geany/issues/2119.","created_at":"2019-04-25T20:14:17Z","updated_at":"2019-04-25T20:20:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62485f6116e1ed700a6eafe6b99d74c9ca49fe9c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085/commits","review_comments_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085/comments","review_comment_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/comments{/number}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/issues/2085/comments","statuses_url":"https://api.github.com/repos/universal-ctags/ctags/statuses/18b6e11a336703fa854c093310a86ebb6366b5c4","head":{"label":"techee:mini_geany","ref":"mini_geany","sha":"18b6e11a336703fa854c093310a86ebb6366b5c4","user":{"login":"techee","id":713965,"node_id":"MDQ6VXNlcjcxMzk2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/713965?v=4","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"repo":{"id":27652831,"node_id":"MDEwOlJlcG9zaXRvcnkyNzY1MjgzMQ==","name":"ctags","full_name":"techee/ctags","private":false,"owner":{"login":"techee","id":713965,"node_id":"MDQ6VXNlcjcxMzk2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/713965?v=4","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"html_url":"https://github.com/techee/ctags","description":"clone of official ctags repo with obj-c and css patches added","fork":true,"url":"https://api.github.com/repos/techee/ctags","forks_url":"https://api.github.com/repos/techee/ctags/forks","keys_url":"https://api.github.com/repos/techee/ctags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/techee/ctags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/techee/ctags/teams","hooks_url":"https://api.github.com/repos/techee/ctags/hooks","issue_events_url":"https://api.github.com/repos/techee/ctags/issues/events{/number}","events_url":"https://api.github.com/repos/techee/ctags/events","assignees_url":"https://api.github.com/repos/techee/ctags/assignees{/user}","branches_url":"https://api.github.com/repos/techee/ctags/branches{/branch}","tags_url":"https://api.github.com/repos/techee/ctags/tags","blobs_url":"https://api.github.com/repos/techee/ctags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/techee/ctags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/techee/ctags/git/refs{/sha}","trees_url":"https://api.github.com/repos/techee/ctags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/techee/ctags/statuses/{sha}","languages_url":"https://api.github.com/repos/techee/ctags/languages","stargazers_url":"https://api.github.com/repos/techee/ctags/stargazers","contributors_url":"https://api.github.com/repos/techee/ctags/contributors","subscribers_url":"https://api.github.com/repos/techee/ctags/subscribers","subscription_url":"https://api.github.com/repos/techee/ctags/subscription","commits_url":"https://api.github.com/repos/techee/ctags/commits{/sha}","git_commits_url":"https://api.github.com/repos/techee/ctags/git/commits{/sha}","comments_url":"https://api.github.com/repos/techee/ctags/comments{/number}","issue_comment_url":"https://api.github.com/repos/techee/ctags/issues/comments{/number}","contents_url":"https://api.github.com/repos/techee/ctags/contents/{+path}","compare_url":"https://api.github.com/repos/techee/ctags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/techee/ctags/merges","archive_url":"https://api.github.com/repos/techee/ctags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/techee/ctags/downloads","issues_url":"https://api.github.com/repos/techee/ctags/issues{/number}","pulls_url":"https://api.github.com/repos/techee/ctags/pulls{/number}","milestones_url":"https://api.github.com/repos/techee/ctags/milestones{/number}","notifications_url":"https://api.github.com/repos/techee/ctags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/techee/ctags/labels{/name}","releases_url":"https://api.github.com/repos/techee/ctags/releases{/id}","deployments_url":"https://api.github.com/repos/techee/ctags/deployments","created_at":"2014-12-06T23:29:21Z","updated_at":"2014-12-06T23:29:24Z","pushed_at":"2019-04-25T20:10:19Z","git_url":"git://github.com/techee/ctags.git","ssh_url":"git@github.com:techee/ctags.git","clone_url":"https://github.com/techee/ctags.git","svn_url":"https://github.com/techee/ctags","homepage":"","size":12465,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"universal-ctags:master","ref":"master","sha":"9630c3925c4b2a2a719428ea290e941c6ca120cd","user":{"login":"universal-ctags","id":9616766,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk2MTY3NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/9616766?v=4","gravatar_id":"","url":"https://api.github.com/users/universal-ctags","html_url":"https://github.com/universal-ctags","followers_url":"https://api.github.com/users/universal-ctags/followers","following_url":"https://api.github.com/users/universal-ctags/following{/other_user}","gists_url":"https://api.github.com/users/universal-ctags/gists{/gist_id}","starred_url":"https://api.github.com/users/universal-ctags/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universal-ctags/subscriptions","organizations_url":"https://api.github.com/users/universal-ctags/orgs","repos_url":"https://api.github.com/users/universal-ctags/repos","events_url":"https://api.github.com/users/universal-ctags/events{/privacy}","received_events_url":"https://api.github.com/users/universal-ctags/received_events","type":"Organization","site_admin":false},"repo":{"id":578839,"node_id":"MDEwOlJlcG9zaXRvcnk1Nzg4Mzk=","name":"ctags","full_name":"universal-ctags/ctags","private":false,"owner":{"login":"universal-ctags","id":9616766,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk2MTY3NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/9616766?v=4","gravatar_id":"","url":"https://api.github.com/users/universal-ctags","html_url":"https://github.com/universal-ctags","followers_url":"https://api.github.com/users/universal-ctags/followers","following_url":"https://api.github.com/users/universal-ctags/following{/other_user}","gists_url":"https://api.github.com/users/universal-ctags/gists{/gist_id}","starred_url":"https://api.github.com/users/universal-ctags/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universal-ctags/subscriptions","organizations_url":"https://api.github.com/users/universal-ctags/orgs","repos_url":"https://api.github.com/users/universal-ctags/repos","events_url":"https://api.github.com/users/universal-ctags/events{/privacy}","received_events_url":"https://api.github.com/users/universal-ctags/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/universal-ctags/ctags","description":"A maintained ctags implementation","fork":false,"url":"https://api.github.com/repos/universal-ctags/ctags","forks_url":"https://api.github.com/repos/universal-ctags/ctags/forks","keys_url":"https://api.github.com/repos/universal-ctags/ctags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/universal-ctags/ctags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/universal-ctags/ctags/teams","hooks_url":"https://api.github.com/repos/universal-ctags/ctags/hooks","issue_events_url":"https://api.github.com/repos/universal-ctags/ctags/issues/events{/number}","events_url":"https://api.github.com/repos/universal-ctags/ctags/events","assignees_url":"https://api.github.com/repos/universal-ctags/ctags/assignees{/user}","branches_url":"https://api.github.com/repos/universal-ctags/ctags/branches{/branch}","tags_url":"https://api.github.com/repos/universal-ctags/ctags/tags","blobs_url":"https://api.github.com/repos/universal-ctags/ctags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/universal-ctags/ctags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/universal-ctags/ctags/git/refs{/sha}","trees_url":"https://api.github.com/repos/universal-ctags/ctags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/universal-ctags/ctags/statuses/{sha}","languages_url":"https://api.github.com/repos/universal-ctags/ctags/languages","stargazers_url":"https://api.github.com/repos/universal-ctags/ctags/stargazers","contributors_url":"https://api.github.com/repos/universal-ctags/ctags/contributors","subscribers_url":"https://api.github.com/repos/universal-ctags/ctags/subscribers","subscription_url":"https://api.github.com/repos/universal-ctags/ctags/subscription","commits_url":"https://api.github.com/repos/universal-ctags/ctags/commits{/sha}","git_commits_url":"https://api.github.com/repos/universal-ctags/ctags/git/commits{/sha}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/comments{/number}","issue_comment_url":"https://api.github.com/repos/universal-ctags/ctags/issues/comments{/number}","contents_url":"https://api.github.com/repos/universal-ctags/ctags/contents/{+path}","compare_url":"https://api.github.com/repos/universal-ctags/ctags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/universal-ctags/ctags/merges","archive_url":"https://api.github.com/repos/universal-ctags/ctags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/universal-ctags/ctags/downloads","issues_url":"https://api.github.com/repos/universal-ctags/ctags/issues{/number}","pulls_url":"https://api.github.com/repos/universal-ctags/ctags/pulls{/number}","milestones_url":"https://api.github.com/repos/universal-ctags/ctags/milestones{/number}","notifications_url":"https://api.github.com/repos/universal-ctags/ctags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/universal-ctags/ctags/labels{/name}","releases_url":"https://api.github.com/repos/universal-ctags/ctags/releases{/id}","deployments_url":"https://api.github.com/repos/universal-ctags/ctags/deployments","created_at":"2010-03-25T10:43:13Z","updated_at":"2019-04-25T12:47:26Z","pushed_at":"2019-04-25T20:14:18Z","git_url":"git://github.com/universal-ctags/ctags.git","ssh_url":"git@github.com:universal-ctags/ctags.git","clone_url":"https://github.com/universal-ctags/ctags.git","svn_url":"https://github.com/universal-ctags/ctags","homepage":"https://ctags.io","size":12849,"stargazers_count":2819,"watchers_count":2819,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":302,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":159,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":302,"open_issues":159,"watchers":2819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085"},"html":{"href":"https://github.com/universal-ctags/ctags/pull/2085"},"issue":{"href":"https://api.github.com/repos/universal-ctags/ctags/issues/2085"},"comments":{"href":"https://api.github.com/repos/universal-ctags/ctags/issues/2085/comments"},"review_comments":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085/comments"},"review_comment":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/2085/commits"},"statuses":{"href":"https://api.github.com/repos/universal-ctags/ctags/statuses/18b6e11a336703fa854c093310a86ebb6366b5c4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"techee"}}