Files
obs-streamer-tools-plugin/core/include/stplugin/core_c.h
T

30 lines
868 B
C
Raw Normal View History

/*
streamer-tools OBS Camera Plugin - core library
Copyright (C) 2026 CyberCoveLLC <jknapp85@gmail.com>
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
http://www.apache.org/licenses/LICENSE-2.0
*/
#pragma once
// A minimal C ABI over the core library's version string.
//
// 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.
#ifdef __cplusplus
extern "C" {
#endif
const char *stplugin_core_version(void);
#ifdef __cplusplus
}
#endif