{"action":"created","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1280","repository_url":"https://api.github.com/repos/arrayfire/arrayfire","labels_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1280/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1280/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1280/events","html_url":"https://github.com/arrayfire/arrayfire/issues/1280","id":133476558,"number":1280,"title":"Obtain arrayfire version at runtime","user":{"login":"FilipeMaia","id":147838,"avatar_url":"https://avatars.githubusercontent.com/u/147838?v=3","gravatar_id":"","url":"https://api.github.com/users/FilipeMaia","html_url":"https://github.com/FilipeMaia","followers_url":"https://api.github.com/users/FilipeMaia/followers","following_url":"https://api.github.com/users/FilipeMaia/following{/other_user}","gists_url":"https://api.github.com/users/FilipeMaia/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipeMaia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipeMaia/subscriptions","organizations_url":"https://api.github.com/users/FilipeMaia/orgs","repos_url":"https://api.github.com/users/FilipeMaia/repos","events_url":"https://api.github.com/users/FilipeMaia/events{/privacy}","received_events_url":"https://api.github.com/users/FilipeMaia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-13T21:42:55Z","updated_at":"2016-02-13T21:48:44Z","closed_at":"2016-02-13T21:46:03Z","body":"It would be very useful to have a function that allows to return the arrayfire version at runtime.\r\nOne case where this would be useful is for the python bindings."},"comment":{"url":"https://api.github.com/repos/arrayfire/arrayfire/issues/comments/183762849","html_url":"https://github.com/arrayfire/arrayfire/issues/1280#issuecomment-183762849","issue_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1280","id":183762849,"user":{"login":"pavanky","id":364829,"avatar_url":"https://avatars.githubusercontent.com/u/364829?v=3","gravatar_id":"","url":"https://api.github.com/users/pavanky","html_url":"https://github.com/pavanky","followers_url":"https://api.github.com/users/pavanky/followers","following_url":"https://api.github.com/users/pavanky/following{/other_user}","gists_url":"https://api.github.com/users/pavanky/gists{/gist_id}","starred_url":"https://api.github.com/users/pavanky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavanky/subscriptions","organizations_url":"https://api.github.com/users/pavanky/orgs","repos_url":"https://api.github.com/users/pavanky/repos","events_url":"https://api.github.com/users/pavanky/events{/privacy}","received_events_url":"https://api.github.com/users/pavanky/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T21:48:44Z","updated_at":"2016-02-13T21:48:44Z","body":"You can also get the commit hash using `char *commit = af_get_revision()` This only exists in devel currently and will be available post 3.3."}}