xref: /oneTBB/src/tbb/version.cpp (revision b15aabb3)
151c0b2f7Stbbdev /*
2*b15aabb3Stbbdev     Copyright (c) 2020-2021 Intel Corporation
351c0b2f7Stbbdev 
451c0b2f7Stbbdev     Licensed under the Apache License, Version 2.0 (the "License");
551c0b2f7Stbbdev     you may not use this file except in compliance with the License.
651c0b2f7Stbbdev     You may obtain a copy of the License at
751c0b2f7Stbbdev 
851c0b2f7Stbbdev         http://www.apache.org/licenses/LICENSE-2.0
951c0b2f7Stbbdev 
1051c0b2f7Stbbdev     Unless required by applicable law or agreed to in writing, software
1151c0b2f7Stbbdev     distributed under the License is distributed on an "AS IS" BASIS,
1251c0b2f7Stbbdev     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1351c0b2f7Stbbdev     See the License for the specific language governing permissions and
1451c0b2f7Stbbdev     limitations under the License.
1551c0b2f7Stbbdev */
1651c0b2f7Stbbdev 
1749e08aacStbbdev #include "oneapi/tbb/version.h"
1851c0b2f7Stbbdev 
TBB_runtime_interface_version()1951c0b2f7Stbbdev extern "C" int TBB_runtime_interface_version() {
2051c0b2f7Stbbdev     return TBB_INTERFACE_VERSION;
2151c0b2f7Stbbdev }
2251c0b2f7Stbbdev 
TBB_runtime_version()2351c0b2f7Stbbdev extern "C" const char* TBB_runtime_version() {
2451c0b2f7Stbbdev     static const char version_str[] = TBB_VERSION_STRING;
2551c0b2f7Stbbdev     return version_str;
2651c0b2f7Stbbdev }
27