diff options
| author | Werner Koch <[email protected]> | 2013-02-12 13:02:08 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2013-02-12 13:02:08 +0000 | 
| commit | f48f75b1e812d33b76e439412efffa8277ab9abe (patch) | |
| tree | e45392735c1cea79dd4f6e67c6585bb6af2fb049 /src | |
| parent | Add public function gpgme_get_pinentry_mode. (diff) | |
| download | gpgme-f48f75b1e812d33b76e439412efffa8277ab9abe.tar.gz gpgme-f48f75b1e812d33b76e439412efffa8277ab9abe.zip | |
Add macro GPGME_VERSION_NUMBER.
* src/gpgme.h.in (GPGME_VERSION_NUMBER): New.
* configure.ac (my_version_major, my_version_minor)
(my_version_micro): New m4 macros.
(my_version): Build from new m4 macros.
(VERSION_NUMBER): New ac_subst.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gpgme.h.in | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/gpgme.h.in b/src/gpgme.h.in index 9d9a5562..12bd4ac7 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -80,6 +80,10 @@ extern "C" {     library.  */  #define GPGME_VERSION "@PACKAGE_VERSION@" +/* The version number of this header.  It may be used to handle minor +   API incompatibilities.  */ +#define GPGME_VERSION_NUMBER @VERSION_NUMBER@ +  /* Check for a matching _FILE_OFFSET_BITS definition.  */  #if @NEED__FILE_OFFSET_BITS@  #ifndef _FILE_OFFSET_BITS @@ -95,7 +99,7 @@ extern "C" {  /* Some opaque data types used by GPGME.  */ -/* The context holds some global state and configration options, as +/* The context holds some global state and configuration options, as     well as the results of a crypto operation.  */  struct gpgme_context;  typedef struct gpgme_context *gpgme_ctx_t; | 
