#define CBL_CORE_API
Definition c4Compat.h:134
#define C4NULLABLE
Definition c4Compat.h:38
#define C4API
Definition c4Compat.h:114
#define C4_ASSUME_NONNULL_BEGIN
Definition c4Compat.h:36
#define C4API_END_DECLS
Definition c4Compat.h:116
#define C4API_BEGIN_DECLS
Definition c4Compat.h:115
#define C4_ASSUME_NONNULL_END
Definition c4Compat.h:37
FLSliceResult C4SliceResult
Definition c4Base.h:51
struct C4Database C4Database
Opaque handle to an opened database.
Definition c4Base.h:136
CBL_CORE_API void c4pred_registerModel(const char *name, C4PredictiveModel)
Registers a predictive model, under a name.
CBL_CORE_API bool c4pred_unregisterModel(const char *name)
Unregisters whatever model was last registered with this name.
const struct _FLDict * FLDict
A reference to a dictionary (map) value.
Definition FLBase.h:37
An error value.
Definition c4Error.h:133
Configuration struct for registering a predictive model.
Definition c4PredictiveQuery.h:56
void * context
A pointer to any external data needed by the prediction callback, which will receive this as its firs...
Definition c4PredictiveQuery.h:59