Voyant API 1.0.0
Loading...
Searching...
No Matches
voyant_version.hpp
Go to the documentation of this file.
1// Copyright (c) 2024-2025 Voyant Photonics, Inc.
2// All rights reserved.
3
4#pragma once
5
6#include <string>
8
12inline std::string voyantApiVersion()
13{
14 // Longest form is "255.255.255-deprecated".
15 char buf[32] = {};
16 voyant_api_version_string(buf, sizeof(buf));
17 return buf;
18}
19
24{
25 // Longest form is "255.255.255".
26 char buf[16] = {};
28 return buf;
29}
uintptr_t voyant_api_version_string(char *buf, uintptr_t capacity)
uintptr_t voyant_interface_contract_version_string(char *buf, uintptr_t capacity)
std::string voyantInterfaceContractVersion()
Definition voyant_version.hpp:23
std::string voyantApiVersion()
Definition voyant_version.hpp:12