Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functions and macros for library version
Fixes #103
- Loading branch information
1 parent
a8b0995
commit 80d75c8
Showing
9 changed files
with
206 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Copyright © 2011 Google, Inc. | ||
* | ||
* This is part of HarfBuzz, a text shaping library. | ||
* | ||
* Permission is hereby granted, without written agreement and without | ||
* license or royalty fees, to use, copy, modify, and distribute this | ||
* software and its documentation for any purpose, provided that the | ||
* above copyright notice and the following two paragraphs appear in | ||
* all copies of this software. | ||
* | ||
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR | ||
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES | ||
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN | ||
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||
* DAMAGE. | ||
* | ||
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | ||
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS | ||
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO | ||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | ||
* | ||
* Google Author(s): Behdad Esfahbod | ||
*/ | ||
|
||
#ifndef _RAQM_H_IN_ | ||
#error "Include <raqm.h> instead." | ||
#endif | ||
|
||
#ifndef _RAQM_VERSION_H_ | ||
#define _RAQM_VERSION_H_ | ||
|
||
#define RAQM_VERSION_MAJOR @RAQM_VERSION_MAJOR@ | ||
#define RAQM_VERSION_MINOR @RAQM_VERSION_MINOR@ | ||
#define RAQM_VERSION_MICRO @RAQM_VERSION_MICRO@ | ||
|
||
#define RAQM_VERSION_STRING "@RAQM_VERSION@" | ||
|
||
#define RAQM_VERSION_ATLEAST(major,minor,micro) \ | ||
((major)*10000+(minor)*100+(micro) <= \ | ||
RAQM_VERSION_MAJOR*10000+RAQM_VERSION_MINOR*100+RAQM_VERSION_MICRO) | ||
|
||
#endif /* _RAQM_VERSION_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters