{"action":"created","issue":{"url":"https://api.github.com/repos/mezoni/binary_declarations/issues/2","labels_url":"https://api.github.com/repos/mezoni/binary_declarations/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mezoni/binary_declarations/issues/2/comments","events_url":"https://api.github.com/repos/mezoni/binary_declarations/issues/2/events","html_url":"https://github.com/mezoni/binary_declarations/issues/2","id":53657551,"number":2,"title":"Typedef Struct","user":{"login":"kaendfinger","id":2130849,"avatar_url":"https://avatars.githubusercontent.com/u/2130849?v=3","gravatar_id":"","url":"https://api.github.com/users/kaendfinger","html_url":"https://github.com/kaendfinger","followers_url":"https://api.github.com/users/kaendfinger/followers","following_url":"https://api.github.com/users/kaendfinger/following{/other_user}","gists_url":"https://api.github.com/users/kaendfinger/gists{/gist_id}","starred_url":"https://api.github.com/users/kaendfinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaendfinger/subscriptions","organizations_url":"https://api.github.com/users/kaendfinger/orgs","repos_url":"https://api.github.com/users/kaendfinger/repos","events_url":"https://api.github.com/users/kaendfinger/events{/privacy}","received_events_url":"https://api.github.com/users/kaendfinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-07T17:24:15Z","updated_at":"2015-01-07T19:08:38Z","closed_at":null,"body":"Hello again! I'm sure you are already aware but I am going to use your libraries to make a libgit2 binding in pure Dart. I'm using your binary declarations but I noticed you don't support typedef structs. Will you be adding support for this?\r\n\r\nHere is what I have:\r\n\r\n```c\r\ntypedef struct {\r\n  char *ptr;\r\n  size_t asize;\r\n  size_t size;\r\n} git_buf;\r\n\r\nvoid git_buf_free(git_buf *buffer);\r\nint git_buf_set(git_buf *buffer, const void *data, size_t datalen);\r\nint git_config_find_global(git_buf *out);\r\n```"},"comment":{"url":"https://api.github.com/repos/mezoni/binary_declarations/issues/comments/69073615","html_url":"https://github.com/mezoni/binary_declarations/issues/2#issuecomment-69073615","issue_url":"https://api.github.com/repos/mezoni/binary_declarations/issues/2","id":69073615,"user":{"login":"kaendfinger","id":2130849,"avatar_url":"https://avatars.githubusercontent.com/u/2130849?v=3","gravatar_id":"","url":"https://api.github.com/users/kaendfinger","html_url":"https://github.com/kaendfinger","followers_url":"https://api.github.com/users/kaendfinger/followers","following_url":"https://api.github.com/users/kaendfinger/following{/other_user}","gists_url":"https://api.github.com/users/kaendfinger/gists{/gist_id}","starred_url":"https://api.github.com/users/kaendfinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaendfinger/subscriptions","organizations_url":"https://api.github.com/users/kaendfinger/orgs","repos_url":"https://api.github.com/users/kaendfinger/repos","events_url":"https://api.github.com/users/kaendfinger/events{/privacy}","received_events_url":"https://api.github.com/users/kaendfinger/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T19:08:38Z","updated_at":"2015-01-07T19:08:38Z","body":"Ok :)"}}