[host] nvfbc: keep C++ headers outside C linkage
Some checks are pending
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Waiting to run
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Waiting to run
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Waiting to run
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Waiting to run
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Waiting to run
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Waiting to run
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Waiting to run
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Waiting to run
build / module (push) Waiting to run
build / host-linux (push) Waiting to run
build / host-windows-cross (push) Waiting to run
build / host-windows-native (push) Waiting to run
build / idd (push) Waiting to run
build / obs (clang) (push) Waiting to run
build / obs (gcc) (push) Waiting to run
build / docs (push) Waiting to run

This commit is contained in:
Geoffrey McRae
2026-09-01 21:49:36 +10:00
parent 8fbe3e7454
commit 236efcb155
2 changed files with 5 additions and 4 deletions

View File

@@ -18,11 +18,12 @@
* Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "wrapper.h"
extern "C"
{
#include "wrapper.h"
#include "common/windebug.h"
};
}
#include <windows.h>
#include <NvFBC/nvFBCToSys.h>

View File

@@ -21,12 +21,12 @@
#include <stdbool.h>
#include <NvFBC/nvFBC.h>
#include "interface/capture.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "interface/capture.h"
typedef struct stNvFBCHandle * NvFBCHandle;
enum BufferFormat