[getdns-users] [PATCH] remove GETDNS_COMPILATION_COMMENT

Melinda Shore melinda.shore at nomountain.net
Wed Jul 8 18:54:33 UTC 2015


On 7/8/15 10:19 AM, Hollenbeck, Scott wrote:
> That means I would need to create a context, send a query, parse the
> returned dictionary, and destroy the context every time PHP loads the
> extension. I'd much rather use a defined constant (just the version
> number would be useful) that could be available when the extension is
> compiled.

Well, as Daniel points out that tells you which version you compiled
against, not which you're running against, and I'm not sure that's
actually useful (runtime version would be).  Library version string is
associated with a context in the API definition and that may not have
been a great decision but it's what we've got.

Melinda

-- 
Melinda Shore
No Mountain Software
melinda.shore at nomountain.net

"Software longa, hardware brevis."



More information about the Users mailing list