{"id":15394269,"url":"https://github.com/xyproto/addinclude","last_synced_at":"2025-04-15T23:53:12.024Z","repository":{"id":2911269,"uuid":"3920581","full_name":"xyproto/addinclude","owner":"xyproto","description":":arrow_up_small: Add include statements within the guards of a header file","archived":false,"fork":false,"pushed_at":"2022-09-19T11:00:17.000Z","size":176,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T03:03:17.152Z","etag":null,"topics":["c","cpp","headers","include","package-management","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xyproto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-03T17:27:58.000Z","updated_at":"2022-06-03T13:33:07.000Z","dependencies_parsed_at":"2023-01-11T16:13:11.542Z","dependency_job_id":null,"html_url":"https://github.com/xyproto/addinclude","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Faddinclude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Faddinclude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Faddinclude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Faddinclude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/addinclude/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cpp","headers","include","package-management","utility"],"created_at":"2024-10-01T15:22:53.775Z","updated_at":"2025-04-15T23:53:12.006Z","avatar_url":"https://github.com/xyproto.png","language":"Go","readme":"Addinclude\n==========\n\nUtility that can add `#include`s to `.c`, `.cpp` or `.h` files, with relatively smart placement.\n\nExample use\n-----------\n\n    addinclude my.c stdin\n    addinclude my.cpp memory\n\nSmart placement\n---------------\n\n    addinclude my.h stdin\n\nChanges my.h from:\n\n    #ifdef blabla\n    #endif\n\nTo:\n\n    #ifdef blabla\n    #include \u003cstdin.h\u003e\n    #endif\n\nYou can place includes at the very top of the file with `-t`. There are several other options.\n\nC++ headers\n-----------\n\n* Use the `-c++` flag for not expanding include names when adding them to files not ending with `.cpp`.\n* For example, `memory` will not be expanded to `memory.h`.\n\nGeneral info\n------------\n\n* Version: 1.2.0\n* License: GPL2\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Faddinclude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Faddinclude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Faddinclude/lists"}