{"action":"created","issue":{"url":"https://api.github.com/repos/AndrewBelt/osdialog/issues/3","repository_url":"https://api.github.com/repos/AndrewBelt/osdialog","labels_url":"https://api.github.com/repos/AndrewBelt/osdialog/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/AndrewBelt/osdialog/issues/3/comments","events_url":"https://api.github.com/repos/AndrewBelt/osdialog/issues/3/events","html_url":"https://github.com/AndrewBelt/osdialog/issues/3","id":346555901,"node_id":"MDU6SXNzdWUzNDY1NTU5MDE=","number":3,"title":"Changing Signature of osdialog_file to avoid free and strdup","user":{"login":"RicoP","id":162828,"node_id":"MDQ6VXNlcjE2MjgyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/162828?v=4","gravatar_id":"","url":"https://api.github.com/users/RicoP","html_url":"https://github.com/RicoP","followers_url":"https://api.github.com/users/RicoP/followers","following_url":"https://api.github.com/users/RicoP/following{/other_user}","gists_url":"https://api.github.com/users/RicoP/gists{/gist_id}","starred_url":"https://api.github.com/users/RicoP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RicoP/subscriptions","organizations_url":"https://api.github.com/users/RicoP/orgs","repos_url":"https://api.github.com/users/RicoP/repos","events_url":"https://api.github.com/users/RicoP/events{/privacy}","received_events_url":"https://api.github.com/users/RicoP/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-01T11:15:20Z","updated_at":"2018-08-01T18:25:37Z","closed_at":"2018-08-01T18:25:37Z","author_association":"CONTRIBUTOR","body":"I would like to use osdialog_file in my game engine but I would like to be able to use my custom allocator. \r\n\r\nosdialog_file uses both free and strdup which makes my life a bit harder. Would it be possible to change the signature of osdialog_file  to be \r\n\r\n```\r\nbool osdialog_file(char * destination, int destinationMaxLength, osdialog_file_action action, const char *path, const char *filename, osdialog_filters *filters);\r\n```\r\n\r\nSo we can use our own buffer, without worriing about freeing the buffer space. "},"comment":{"url":"https://api.github.com/repos/AndrewBelt/osdialog/issues/comments/409674560","html_url":"https://github.com/AndrewBelt/osdialog/issues/3#issuecomment-409674560","issue_url":"https://api.github.com/repos/AndrewBelt/osdialog/issues/3","id":409674560,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTY3NDU2MA==","user":{"login":"AndrewBelt","id":338179,"node_id":"MDQ6VXNlcjMzODE3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/338179?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewBelt","html_url":"https://github.com/AndrewBelt","followers_url":"https://api.github.com/users/AndrewBelt/followers","following_url":"https://api.github.com/users/AndrewBelt/following{/other_user}","gists_url":"https://api.github.com/users/AndrewBelt/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewBelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewBelt/subscriptions","organizations_url":"https://api.github.com/users/AndrewBelt/orgs","repos_url":"https://api.github.com/users/AndrewBelt/repos","events_url":"https://api.github.com/users/AndrewBelt/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewBelt/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T18:25:37Z","updated_at":"2018-08-01T18:25:37Z","author_association":"OWNER","body":"That's reasonable enough. 7bb7dd7688868aef593de2bcd468bed92c71ab00"}}
{"actor":{"display_login":"AndrewBelt"}}