Defines | |
#define | EXIV2_RCSID(id) |
Macro to store version information in each object file. |
This is a simplified version of the ACE_RCSID macro that is used in the ACE(TM) distribution.
|
Value: namespace { \ inline const char* getRcsId(const char*) { return id ; } \ const char* rcsId = getRcsId(rcsId); \ } Use this macro by including the following two lines at the beginning of each *.cpp file. See the ident(1) manual pages for more information.
#include "rcsid.hpp" EXIV2_RCSID("@(#) $Id$"); The macro hack itself has the following purposes:
|