Move senseApi libs into their own outer subdir

This commit is contained in:
2025-01-08 17:16:49 -04:00
parent 988e84a545
commit d14cef5328
16 changed files with 9193 additions and 82 deletions
+9
View File
@@ -0,0 +1,9 @@
#ifndef HK_PREPROCESSOR_H
#define HK_PREPROCESSOR_H
#define HK_Q(x) #x
#define HK_QUOTE(x) HK_Q(x)
#define HK_UNMANGLED "C"
#endif // HK_PREPROCESSOR_H
+15 -1
View File
@@ -1,7 +1,11 @@
#ifndef __USER_SENSE_API_LIB_H__
#define __USER_SENSE_API_LIB_H__
#define HK_SENSE_API_DESC_GETTER_FN_NAME "getSenseApiDescriptor"
#include <preprocessor.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Exported by all sense API Libraries to tell Harikoff what API the lib uses
* to connect to providers; and also to state which implexor APIs it exports.
@@ -21,4 +25,14 @@ struct CSenseApiDesc
CExportedImplexorApiDesc *exportedImplexorApis;
};
#define HK_GET_SENSE_API_DESC_FN_NAME getSenseApiDesc
#define HK_GET_SENSE_API_DESC_FN_NAME_STR \
HK_QUOTE(HK_GET_SENSE_API_DESC_FN_NAME)
typedef const CSenseApiDesc *(getSenseApiDescFn)(void);
#ifdef __cplusplus
}
#endif
#endif // __USER_SENSE_API_LIB_H__