{"action":"created","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/607","repository_url":"https://api.github.com/repos/svaarala/duktape","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/607/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/607/events","html_url":"https://github.com/svaarala/duktape/issues/607","id":135630167,"number":607,"title":"API to get running Duktape version","user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-23T04:36:36Z","updated_at":"2016-02-23T13:05:15Z","closed_at":null,"body":"Something like `duk_get_version()` or `duk_get_git_describe()` which returned the `git describe` string for the running Duktape version.  This could be useful when dynamic linking against Duktape as a way to get the real version of the Duktape DLL (instead of just what `duktape.h` thinks it is).\r\n\r\nMost libraries I've encountered include a function like this, even e.g. zlib, Duktape seems to be one of the few outliers."},"comment":{"url":"https://api.github.com/repos/svaarala/duktape/issues/comments/187690440","html_url":"https://github.com/svaarala/duktape/issues/607#issuecomment-187690440","issue_url":"https://api.github.com/repos/svaarala/duktape/issues/607","id":187690440,"user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T13:05:15Z","updated_at":"2016-02-23T13:05:15Z","body":"That's true, although devil's advocate: what if the caller isn't a C/C++ program?  For example calling into Duktape using .NET P/Invoke.\r\n\r\nI'm mostly indifferent to this, I just think it would be nice for consistency with other libraries.  If you don't want to implement it for footprint reasons that's fine too. :)"}}