2026-09-06 20:46:08 -07:00
|
|
|
/*
|
|
|
|
|
streamer-tools OBS Camera Plugin - core library
|
|
|
|
|
Copyright (C) 2026 CyberCoveLLC <jknapp85@gmail.com>
|
|
|
|
|
|
2026-09-07 04:44:16 -07:00
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
2026-09-06 20:46:08 -07:00
|
|
|
|
2026-09-07 04:44:16 -07:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2026-09-06 20:46:08 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#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
|