{"id":50447294,"url":"https://github.com/taljacob2/oop","last_synced_at":"2026-05-31T22:04:11.763Z","repository":{"id":65098807,"uuid":"580703685","full_name":"taljacob2/oop","owner":"taljacob2","description":"`oop` is a static library, that allows the use of OOP in C language.","archived":false,"fork":false,"pushed_at":"2023-02-08T12:16:43.000Z","size":940,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T14:10:00.165Z","etag":null,"topics":["c","class","ooc","oop"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taljacob2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-21T08:28:34.000Z","updated_at":"2024-04-14T14:10:00.166Z","dependencies_parsed_at":"2023-02-16T10:46:12.660Z","dependency_job_id":null,"html_url":"https://github.com/taljacob2/oop","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"purl":"pkg:github/taljacob2/oop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taljacob2%2Foop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taljacob2%2Foop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taljacob2%2Foop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taljacob2%2Foop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taljacob2","download_url":"https://codeload.github.com/taljacob2/oop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taljacob2%2Foop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33750495,"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-05-31T02:00:06.040Z","response_time":95,"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":["c","class","ooc","oop"],"created_at":"2026-05-31T22:04:08.278Z","updated_at":"2026-05-31T22:04:11.753Z","avatar_url":"https://github.com/taljacob2.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OOP For C Language\n\n`oop` is a static library, that allows the use of OOP in C language.\n\n## Download The Latest Release Of `oop` [Here](https://github.com/taljacob2/oop/releases/)\n\n- For compiling with GNU's GCC, download `oop-gcc.tar.gz`.\n- For compiling with Microsoft's MSVC, download `oop-msvc.zip`.\n\n## Usage\n\n- For GNU's GCC see [GCC Usage](docs/GCCUsage.md).\n- For Microsoft's MSVC see [MSVC Usage](docs/MSVCUsage.md).\n\n### Polymorphism\n\nWhen creating a new class with the `DEFINE_CLASS_H` macro keyword, you actually polymorph the new class with the [`Object`](src/lib//oop/Object/Object.r) class.\n\nThus, every class you create, is polymorphed with [`Object`](src/lib//oop/Object/Object.r).\n\n\u003e ##### NOTE 1 FOR DEVELOPERS ONLY\n\u003e Every object is polymorphed with [`Legacy_Object`](src/lib/oop/Object/Legacy_Object.r)\n  (it is the **most polymorhpic object in the library**).\n\n### Dynamic Allocation\n\nWhen you use [`Object`](src/lib//oop/Object/Object.r)s, you do not need to worry\nagain about dynamic allocation (e.g. `malloc`, `calloc`...).\n\n[`Object`](src/lib//oop/Object/Object.r)s allocate themselves (with `calloc`) in\ntheir constructor, and **automatically destruct themselves** (with `free`) after\nthe `main`.\n\nAlthough, in case you want to manually invoke the object's destructor (similarly to CPP's `delete` function) you may do so by invoking the `DESTRUCT_OBJECT(objectToDestruct)` macro.\n\n\u003e ##### NOTE 2 FOR DEVELOPERS ONLY\n\u003e Every [`Object`](src/lib//oop/Object/Object.r) is composed of [`AutoDestructable`](src/lib/oop/Object/AutoDestructable.r), which handles the object to **automatically be destructed after the `main`** (see\n\u003e [`Legacy_AllocationTableList`](/src/lib/oop/Object/Legacy_AllocationTableList.r)).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaljacob2%2Foop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaljacob2%2Foop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaljacob2%2Foop/lists"}