{"id":18090922,"url":"https://github.com/thewilsonator/dflat","last_synced_at":"2025-04-13T05:44:38.912Z","repository":{"id":224504831,"uuid":"181654519","full_name":"thewilsonator/dflat","owner":"thewilsonator","description":"C#/.NET wrapper library for the D programming language","archived":false,"fork":false,"pushed_at":"2019-12-24T18:00:00.000Z","size":121,"stargazers_count":14,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T05:44:24.168Z","etag":null,"topics":["csharp","dlang","dotnet","wrapper-library"],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thewilsonator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-04-16T09:07:40.000Z","updated_at":"2024-08-25T11:43:34.000Z","dependencies_parsed_at":"2024-02-26T10:58:45.750Z","dependency_job_id":null,"html_url":"https://github.com/thewilsonator/dflat","commit_stats":null,"previous_names":["thewilsonator/dflat"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewilsonator%2Fdflat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewilsonator%2Fdflat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewilsonator%2Fdflat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewilsonator%2Fdflat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thewilsonator","download_url":"https://codeload.github.com/thewilsonator/dflat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670520,"owners_count":21142901,"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":["csharp","dlang","dotnet","wrapper-library"],"created_at":"2024-10-31T18:08:39.273Z","updated_at":"2025-04-13T05:44:38.889Z","avatar_url":"https://github.com/thewilsonator.png","language":"D","readme":"# dlfat - a c# wrapper generator for D\n\nDflat is an application and library to generate boilerplate and dlls to bind to C# code.\n\n```c#\npublic class Class1\n{\nint a;\npublic Class1(int aa) { a = aa; }\npublic void foo() { a = 42; }\npublic override string ToString() { return a.ToString(); }\n}\n```\n\n```d\nauto a = Class1.make(314);\na.toString().fromStringz.writeln; // 314\na.foo();\na.toString().fromStringz.writeln; // 42\na.unpin(); // Objects created with make need their c# GC references unpinned manually to avoid leaking\n```\n\nsee the tests for more details.\n\n## Building\n\nYou will need the Mono runtime, including Mono.Cecil and derelict-util\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewilsonator%2Fdflat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewilsonator%2Fdflat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewilsonator%2Fdflat/lists"}