Library Version?

Sander Jansen s.jansen at gmail.com
Tue Jul 24 09:26:39 PDT 2007


Most libraries have two things: a preprocessor define in the header
files to check during compilation, and a variable that can be accessed
(by a function for example, or simply a extern) to check what the
version of the library is being linked in (which may be different than
during compilation) ...

Both are important to have I think.

Cheers,

Sander

On 7/24/07, Thiago Macieira <thiago at kde.org> wrote:
> Sander Jansen wrote:
> >Does dbus have a version number that can queried from within the
> >program that links to it?
>
> No.
>
> But we should add such a macro, starting at 0x010100 (1.1.0).
>
> The absence of the macro would mean D-Bus 1.0.
>
> --
>  Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>   PGP/GPG: 0x6EF45358; fingerprint:
>   E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
>
>


More information about the dbus mailing list