2026-09-06 20:46:08 -07:00
|
|
|
/*
|
|
|
|
|
streamer-tools OBS Camera Plugin - core library
|
|
|
|
|
Copyright (C) 2026 CyberCoveLLC <jknapp85@gmail.com>
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
|
with this program. If not, see <https://www.gnu.org/licenses/>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2026-09-06 22:13:28 -07:00
|
|
|
// A minimal C ABI over the core library's version string.
|
2026-09-06 20:46:08 -07:00
|
|
|
//
|
2026-09-06 22:13:28 -07:00
|
|
|
// The OBS adapter is C++ and calls stplugin::core_version() directly, so
|
|
|
|
|
// nothing in this repository needs this header today. It is kept because it
|
|
|
|
|
// is the seam a plain-C consumer would use, and because the unit tests assert
|
|
|
|
|
// the two entry points agree -- which is a cheap check that the C++ library
|
|
|
|
|
// really is linkable from a C translation unit.
|
2026-09-06 20:46:08 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
const char *stplugin_core_version(void);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|