[#BSL_GET_VERSION_MAJOR]
= BSL&lowbar;GET&lowbar;VERSION&lowbar;MAJOR
:mrdocs:

Extract from the specified `version` the corresponding major version&period;

== Synopsis

Declared in `&lt;bslscm&lowbar;versiontag&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSL&lowbar;GET&lowbar;VERSION&lowbar;MAJOR(version)

----

== Description

`version` is the result of a `BSL&lowbar;MAKE&lowbar;VERSION(major, minor)` invocation, and this macro returns `major`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *version*
| combined version number from `BSL&lowbar;MAKE&lowbar;VERSION`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
