{"action":"created","issue":{"url":"https://api.github.com/repos/ParticlePeter/ErupteD/issues/5","repository_url":"https://api.github.com/repos/ParticlePeter/ErupteD","labels_url":"https://api.github.com/repos/ParticlePeter/ErupteD/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ParticlePeter/ErupteD/issues/5/comments","events_url":"https://api.github.com/repos/ParticlePeter/ErupteD/issues/5/events","html_url":"https://github.com/ParticlePeter/ErupteD/issues/5","id":172553312,"number":5,"title":"All uses of `const type*` should be replaced with `const(type)*`","user":{"login":"AndrejMitrovic","id":15028641,"avatar_url":"https://avatars.githubusercontent.com/u/15028641?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrejMitrovic","html_url":"https://github.com/AndrejMitrovic","followers_url":"https://api.github.com/users/AndrejMitrovic/followers","following_url":"https://api.github.com/users/AndrejMitrovic/following{/other_user}","gists_url":"https://api.github.com/users/AndrejMitrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrejMitrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrejMitrovic/subscriptions","organizations_url":"https://api.github.com/users/AndrejMitrovic/orgs","repos_url":"https://api.github.com/users/AndrejMitrovic/repos","events_url":"https://api.github.com/users/AndrejMitrovic/events{/privacy}","received_events_url":"https://api.github.com/users/AndrejMitrovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T20:58:49Z","updated_at":"2016-08-23T15:25:48Z","closed_at":null,"body":"I think you already know this (judging from erupt.py code I saw), in C `const type*` means *pointer to constant type*, in D it means *constant pointer to constant type*. The parentheses are needed to match the C semantics.\r\n\r\nThere's at least one function which is defined as:\r\n\r\n```\r\nalias PFN_vkDebugReportCallbackEXT = VkBool32 function(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, void* pUserData);\r\n```\r\n\r\nNotice the `const char*`.\r\n\r\nIn fact I think it's the only one left to fix? :)"},"comment":{"url":"https://api.github.com/repos/ParticlePeter/ErupteD/issues/comments/241769375","html_url":"https://github.com/ParticlePeter/ErupteD/issues/5#issuecomment-241769375","issue_url":"https://api.github.com/repos/ParticlePeter/ErupteD/issues/5","id":241769375,"user":{"login":"ParticlePeter","id":1482313,"avatar_url":"https://avatars.githubusercontent.com/u/1482313?v=3","gravatar_id":"","url":"https://api.github.com/users/ParticlePeter","html_url":"https://github.com/ParticlePeter","followers_url":"https://api.github.com/users/ParticlePeter/followers","following_url":"https://api.github.com/users/ParticlePeter/following{/other_user}","gists_url":"https://api.github.com/users/ParticlePeter/gists{/gist_id}","starred_url":"https://api.github.com/users/ParticlePeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParticlePeter/subscriptions","organizations_url":"https://api.github.com/users/ParticlePeter/orgs","repos_url":"https://api.github.com/users/ParticlePeter/repos","events_url":"https://api.github.com/users/ParticlePeter/events{/privacy}","received_events_url":"https://api.github.com/users/ParticlePeter/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T15:25:48Z","updated_at":"2016-08-23T15:25:48Z","body":"You're right of course, will fix it for the sake of correctness. However, I am successfully using the callback in its current state, I guess Vulkan is calling it through the c runtime?"}}
{"actor":{"display_login":"ParticlePeter"}}