Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bstrlib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
libraries
bstrlib
Commits
8e433874f57e
Commit
8e433874f57e
authored
8 years ago
by
websnarf
Browse files
Options
Downloads
Patches
Plain Diff
Add a version number system for Bstrlib.
parent
fac0cbbdf3cb
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
bstrlib.h
+5
-0
5 additions, 0 deletions
bstrlib.h
bstrlib.txt
+27
-0
27 additions, 0 deletions
bstrlib.txt
with
32 additions
and
0 deletions
bstrlib.h
+
5
−
0
View file @
8e433874
...
@@ -36,6 +36,11 @@
...
@@ -36,6 +36,11 @@
typedef
struct
tagbstring
*
bstring
;
typedef
struct
tagbstring
*
bstring
;
typedef
const
struct
tagbstring
*
const_bstring
;
typedef
const
struct
tagbstring
*
const_bstring
;
/* Version */
#define BSTR_VER_MAJOR 1
#define BSTR_VER_MINOR 0
#define BSTR_VER_UPDATE 0
/* Copy functions */
/* Copy functions */
#define cstr2bstr bfromcstr
#define cstr2bstr bfromcstr
extern
bstring
bfromcstr
(
const
char
*
str
);
extern
bstring
bfromcstr
(
const
char
*
str
);
...
...
This diff is collapsed.
Click to expand it.
bstrlib.txt
+
27
−
0
View file @
8e433874
...
@@ -593,6 +593,33 @@
...
@@ -593,6 +593,33 @@
that use bstrings or CBStrings including bstrlib.c, bstraux.c and
that use bstrings or CBStrings including bstrlib.c, bstraux.c and
bstrwrap.cpp.
bstrwrap.cpp.
Version
-------
v1.0.0
The version format v[Major].[Minor].[Update] is used to facilitate
developers with backward compatibility in the core developer branch of the
Better String Library. This is also reflected in the macro symbols
BSTR_VER_MAJOR, BSTR_VER_MINOR and BSTR_VER_UPDATE in the bstrlib.h file.
Differences in the Major version imply that there has been a change in the
API, and that a recompile and usage source changes may be necessary.
Differences in Minor version imply that there has been an expansion of the
API, that backward compatibility should be preserved and that at most a
recompile is necessary (unless there is a namespace collision). Differences
in Update imply that no API change has occurred.
Although ordered, there is no implication of lexical sequencing. In
particular, the Update number will not reset to 0 as the Major and Minor
version numbers increment.
So simple bug fixes will usually be reflected in a change in the Update
number. If new functions are available, the Minor value will increment.
If any function changes its parameters, or if a function is removed, the
Major value will increment.
===============================================================================
===============================================================================
Files
Files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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