{"action":"created","issue":{"url":"https://api.github.com/repos/Dav1dde/glad/issues/49","repository_url":"https://api.github.com/repos/Dav1dde/glad","labels_url":"https://api.github.com/repos/Dav1dde/glad/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Dav1dde/glad/issues/49/comments","events_url":"https://api.github.com/repos/Dav1dde/glad/issues/49/events","html_url":"https://github.com/Dav1dde/glad/pull/49","id":149841540,"number":49,"title":"Improve the C generator to especially better support for the Windows platform","user":{"login":"QUSpilPrgm","id":18053943,"avatar_url":"https://avatars.githubusercontent.com/u/18053943?v=3","gravatar_id":"","url":"https://api.github.com/users/QUSpilPrgm","html_url":"https://github.com/QUSpilPrgm","followers_url":"https://api.github.com/users/QUSpilPrgm/followers","following_url":"https://api.github.com/users/QUSpilPrgm/following{/other_user}","gists_url":"https://api.github.com/users/QUSpilPrgm/gists{/gist_id}","starred_url":"https://api.github.com/users/QUSpilPrgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QUSpilPrgm/subscriptions","organizations_url":"https://api.github.com/users/QUSpilPrgm/orgs","repos_url":"https://api.github.com/users/QUSpilPrgm/repos","events_url":"https://api.github.com/users/QUSpilPrgm/events{/privacy}","received_events_url":"https://api.github.com/users/QUSpilPrgm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-04-20T18:00:05Z","updated_at":"2016-08-25T14:54:06Z","closed_at":"2016-04-30T09:01:53Z","pull_request":{"url":"https://api.github.com/repos/Dav1dde/glad/pulls/49","html_url":"https://github.com/Dav1dde/glad/pull/49","diff_url":"https://github.com/Dav1dde/glad/pull/49.diff","patch_url":"https://github.com/Dav1dde/glad/pull/49.patch"},"body":"Basicly I have made 3 changes to improve the usage of the C generator especially on Windows:\r\n- `--local-files`: This command line option informs Glad to put all files into a single directory. Inside the MSVC environment it is uncommon to split files into seperate directories for headers and sources. Additionally it is no longer necessary to add the Glad header directory to the include paths which is much more convenient.\r\n- `--omit-khrplatform`: This option prevents the often unnecessary file `khrplatform.h` from getting downloaded and included.\r\n- I changed `LoadLibraryA` to `LoadLibraryW` since the usage of the old Ansi functions is generally not recommended anymore.\r\n\r\nIt would propably make sense to add some of these options to other generators but this is outside the scope of this pull request.\r\n\r\nNote: I am not familiar with Python programming. If there is anything that could be improved, I would be happy to change it."},"comment":{"url":"https://api.github.com/repos/Dav1dde/glad/issues/comments/242417663","html_url":"https://github.com/Dav1dde/glad/pull/49#issuecomment-242417663","issue_url":"https://api.github.com/repos/Dav1dde/glad/issues/49","id":242417663,"user":{"login":"stfx","id":341158,"avatar_url":"https://avatars.githubusercontent.com/u/341158?v=3","gravatar_id":"","url":"https://api.github.com/users/stfx","html_url":"https://github.com/stfx","followers_url":"https://api.github.com/users/stfx/followers","following_url":"https://api.github.com/users/stfx/following{/other_user}","gists_url":"https://api.github.com/users/stfx/gists{/gist_id}","starred_url":"https://api.github.com/users/stfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stfx/subscriptions","organizations_url":"https://api.github.com/users/stfx/orgs","repos_url":"https://api.github.com/users/stfx/repos","events_url":"https://api.github.com/users/stfx/events{/privacy}","received_events_url":"https://api.github.com/users/stfx/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T14:54:06Z","updated_at":"2016-08-25T14:54:06Z","body":"> I will add these to the web interface after rewriting the glad a little\r\n\r\n@Dav1dde those options are still missing in the web interface"}}
{"actor":{"display_login":"stfx"}}