{"id":19356774,"url":"https://github.com/ajkhoury/preprocessor_def_guard","last_synced_at":"2026-06-18T11:31:12.111Z","repository":{"id":95319118,"uuid":"149610159","full_name":"ajkhoury/preprocessor_def_guard","owner":"ajkhoury","description":"Adds guards for preprocessor definitions.","archived":false,"fork":false,"pushed_at":"2018-09-20T13:15:18.000Z","size":154,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T11:48:58.645Z","etag":null,"topics":["definition","definitions","format","formatter","guard","pre-processing","preprocessor"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajkhoury.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-20T13:02:42.000Z","updated_at":"2023-07-29T20:52:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b175b75-1690-4f1c-b3cd-4693818c1e4d","html_url":"https://github.com/ajkhoury/preprocessor_def_guard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajkhoury/preprocessor_def_guard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2Fpreprocessor_def_guard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2Fpreprocessor_def_guard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2Fpreprocessor_def_guard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2Fpreprocessor_def_guard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajkhoury","download_url":"https://codeload.github.com/ajkhoury/preprocessor_def_guard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2Fpreprocessor_def_guard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34489019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["definition","definitions","format","formatter","guard","pre-processing","preprocessor"],"created_at":"2024-11-10T07:05:28.832Z","updated_at":"2026-06-18T11:31:12.084Z","avatar_url":"https://github.com/ajkhoury.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# preprocessor_def_guard \n\nSimple little script to enumerate a file for specific preprocessor definitions and adds a guard around them.\n\nExample of the outcome of this script can be seen in the example [ntstatus.h](https://github.com/dude719/preprocessor_def_guard/blob/master/ntstatus.h)\n\nUsage:\n\n    python preprocessor_def_guard.py [-i|--input-file=\u003cinputfile\u003e] [-o|--output-file=\u003coutputfile\u003e]\n\n# License\n\n    Copyright (C) 2018  Aidan Khoury (dude719)\n \n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n    \n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n    \n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajkhoury%2Fpreprocessor_def_guard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajkhoury%2Fpreprocessor_def_guard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajkhoury%2Fpreprocessor_def_guard/lists"}