Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
e47257eb
Commit
e47257eb
authored
14 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
make version macros public.
parent
45fcf251
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/ZMap/zmapUtils.h
+20
-4
20 additions, 4 deletions
src/include/ZMap/zmapUtils.h
src/zmapUtils/zmapUtils_P.h
+2
-16
2 additions, 16 deletions
src/zmapUtils/zmapUtils_P.h
with
22 additions
and
20 deletions
src/include/ZMap/zmapUtils.h
+
20
−
4
View file @
e47257eb
...
...
@@ -24,9 +24,9 @@
*
* Description: Utility functions for ZMap.
* HISTORY:
* Last edited:
Nov 17 13:43
200
9
(edgrif)
* Last edited:
May 6 15:50
20
1
0 (edgrif)
* Created: Thu Feb 26 10:33:10 2004 (edgrif)
* CVS info: $Id: zmapUtils.h,v 1.4
5
2010-0
3
-0
4
15:
15:18 mh17
Exp $
* CVS info: $Id: zmapUtils.h,v 1.4
6
2010-0
5
-0
6
15:
20:00 edgrif
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_UTILS_H
...
...
@@ -34,7 +34,8 @@
#include
<glib.h>
/* The following defines deliberately come before the subsequent include files because
* those files use these definitions. */
/* Some compilers give more information than others so set up compiler dependant defines. */
...
...
@@ -53,7 +54,6 @@
#endif
/* __GNUC__ */
#include
<ZMap/zmapUtilsDebug.h>
#include
<ZMap/zmapUtilsCheck.h>
#include
<ZMap/zmapUtilsMesg.h>
...
...
@@ -76,6 +76,22 @@
#define ZMAP_MAKESTRING(x) ZMAP_PUTSTRING(x)
/* Make a single version number out of the version, release and update numbers. */
#define ZMAP_MAKE_VERSION_NUMBER(VERSION, RELEASE, UPDATE) \
((VERSION * 10000) + (RELEASE * 100) + UPDATE)
/* Make a single version string out of the version, release and update numbers. */
#define ZMAP_MAKE_VERSION_STRING(VERSION, RELEASE, UPDATE) \
ZMAP_MAKESTRING(VERSION) "." ZMAP_MAKESTRING(RELEASE) "." ZMAP_MAKESTRING(UPDATE)
/* Make a title string containing the title of the application/library and
* and the version, release and update numbers. */
#define ZMAP_MAKE_TITLE_STRING(TITLE, VERSION, RELEASE, UPDATE) \
TITLE " - " ZMAP_MAKE_VERSION_STRING(VERSION, RELEASE, UPDATE)
/*!
* Represents a ZMap logging object which will log messages, open/close the log etc. */
typedef
struct
_ZMapLogStruct
*
ZMapLog
;
...
...
This diff is collapsed.
Click to expand it.
src/zmapUtils/zmapUtils_P.h
+
2
−
16
View file @
e47257eb
...
...
@@ -24,9 +24,9 @@
*
* Description:
* HISTORY:
* Last edited:
Apr 23
15:
49
200
7
(edgrif)
* Last edited:
May 6
15:
50
20
1
0 (edgrif)
* Created: Wed Mar 31 11:53:45 2004 (edgrif)
* CVS info: $Id: zmapUtils_P.h,v 1.13
3
2010-05-06 1
2
:2
7:24 zmap
Exp $
* CVS info: $Id: zmapUtils_P.h,v 1.13
4
2010-05-06 1
5
:2
0:00 edgrif
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_UTILS_P_H
...
...
@@ -43,20 +43,6 @@
#define ZMAP_UPDATE 91
/* Make a single version number out of the version, release and update numbers. */
#define ZMAP_MAKE_VERSION_NUMBER(VERSION, RELEASE, UPDATE) \
((VERSION * 10000) + (RELEASE * 100) + UPDATE)
/* Make a single version string out of the version, release and update numbers. */
#define ZMAP_MAKE_VERSION_STRING(VERSION, RELEASE, UPDATE) \
ZMAP_MAKESTRING(VERSION) "." ZMAP_MAKESTRING(RELEASE) "." ZMAP_MAKESTRING(UPDATE)
/* Make a title string containing the title of the application/library and
* and the version, release and update numbers. */
#define ZMAP_MAKE_TITLE_STRING(TITLE, VERSION, RELEASE, UPDATE) \
TITLE " - " ZMAP_MAKE_VERSION_STRING(VERSION, RELEASE, UPDATE)
/* Create a copyright string for dialogs etc. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment