{"id":15057624,"url":"https://github.com/juliainterop/cenum.jl","last_synced_at":"2026-03-06T21:33:24.233Z","repository":{"id":41975248,"uuid":"166237175","full_name":"JuliaInterop/CEnum.jl","owner":"JuliaInterop","description":"C-compatible enum for Julia","archived":false,"fork":false,"pushed_at":"2023-12-23T05:47:12.000Z","size":38,"stargazers_count":14,"open_issues_count":3,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-08T21:42:33.641Z","etag":null,"topics":["c","enum","julia"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/JuliaInterop.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":"2019-01-17T14:15:15.000Z","updated_at":"2025-01-21T13:27:39.000Z","dependencies_parsed_at":"2023-12-23T06:52:26.876Z","dependency_job_id":"7c0bab88-2727-48f1-85c6-c3d937bc756c","html_url":"https://github.com/JuliaInterop/CEnum.jl","commit_stats":{"total_commits":31,"total_committers":6,"mean_commits":5.166666666666667,"dds":"0.19354838709677424","last_synced_commit":"c03479a00c06a746feb624936756382e3ca6d9cc"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FCEnum.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FCEnum.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FCEnum.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FCEnum.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaInterop","download_url":"https://codeload.github.com/JuliaInterop/CEnum.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208559,"owners_count":21065202,"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","enum","julia"],"created_at":"2024-09-24T22:09:13.937Z","updated_at":"2026-03-06T21:33:24.180Z","avatar_url":"https://github.com/JuliaInterop.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CEnum\n\n[![Build Status](https://github.com/JuliaInterop/CEnum.jl/workflows/CI/badge.svg)](https://github.com/JuliaInterop/CEnum.jl/actions)\n[![Codecov](https://codecov.io/gh/JuliaInterop/CEnum.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaInterop/CEnum.jl)\n[![pkgeval](https://juliahub.com/docs/CEnum/pkgeval.svg)](https://juliahub.com/ui/Packages/CEnum/0gyUJ)\n[![version](https://juliahub.com/docs/CEnum/version.svg)](https://juliahub.com/ui/Packages/CEnum/0gyUJ)\n[![deps](https://juliahub.com/docs/CEnum/deps.svg)](https://juliahub.com/ui/Packages/CEnum/0gyUJ?t=2)\n[![Genie Downloads](https://shields.io/endpoint?url=https://pkgs.genieframework.com/api/v1/badge/CEnum)](https://pkgs.genieframework.com?packages=CEnum)\n\nThis package provides a C-compatible enum for Julia.\n\n```julia\njulia\u003e @enum Foo a = 1 b = 2 c = 1\nERROR: LoadError: ArgumentError: values for Enum Foo are not unique\nStacktrace:\n [1] @enum(::LineNumberNode, ::Module, ::Any, ::Vararg{Any,N} where N) at ./Enums.jl:128\nin expression starting at REPL[12]:1\n\njulia\u003e using CEnum\n\njulia\u003e @cenum(Bar, d = 1, e = 2, f = 1)\n\njulia\u003e d == f\ntrue\n```\n\n## Credit\nThe original version is written by [SimonDanisch](https://github.com/SimonDanisch) in [this PR](https://github.com/JuliaInterop/Clang.jl/pull/162).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliainterop%2Fcenum.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliainterop%2Fcenum.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliainterop%2Fcenum.jl/lists"}