Skip to content

Commit

Permalink
Expose impl constant Trust::kDontParse in FLExpert.h
Browse files Browse the repository at this point in the history
  • Loading branch information
snej committed Oct 18, 2023
1 parent c27584a commit 95a2a66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions API/fleece/FLExpert.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ extern "C" {
/** \defgroup Obscure Rarely-needed or advanced functions
@{ */

/** For use with \ref FLDoc_FromResultData. This option prevents the function from parsing the
data at all; you are responsible for locating the FLValues in it.
This is for the case where you have trusted data in a custom format that contains Fleece-
encoded data within it. You still need an FLDoc to access the data safely (especially to
retain FLValues), but it can't be parsed as-is. */
#define kFLTrustedDontParse FLTrust(-1)

/** \name Delta Compression
@{
Expand Down

0 comments on commit 95a2a66

Please sign in to comment.