build: Conditionally compile senseApis

This commit is contained in:
2025-01-08 18:27:40 -04:00
parent 396bcefbf4
commit 88df316013
6 changed files with 25 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
#include <iostream>
#include <algorithm>
#include <stdexcept>
#include "xcbXorg.h"
static CExportedImplexorApiDesc xcbXorgExportedImplexorApis[] =
{
{
.name = "video-implexor"
},
{
.name = NULL
}
};
static CSenseApiDesc xcbXorgApiDesc =
{
.name = "XcbXorg",
.exportedImplexorApis = xcbXorgExportedImplexorApis
};
extern HK_UNMANGLED getSenseApiDescFn HK_GET_SENSE_API_DESC_FN_NAME;
const CSenseApiDesc *HK_GET_SENSE_API_DESC_FN_NAME(void)
{
return &xcbXorgApiDesc;
}