Skip to content

Commit 0825d44

Browse files
committed
Update OGDescription
1 parent 3fddf8d commit 0825d44

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Sources/OpenGraph_SPI/Graph/GraphDescription.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
const CFStringRef OGDescriptionFormat = CFSTR("format");
1515
const CFStringRef OGDescriptionIncludeValues = CFSTR("include-values");
16+
const CFStringRef OGDescriptionTruncationLimit = CFSTR("truncation-limit");
17+
const CFStringRef OGDescriptionMaxFrames = CFSTR("max-frames");
1618

1719
CFTypeRef OG::Graph::description(const Graph * _Nullable graph, NSDictionary* dic) {
1820
// TODO

Sources/OpenGraph_SPI/include/OGGraphDescription.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ const CFStringRef OGDescriptionFormat OG_SWIFT_NAME(OGGraphRef.descriptionFormat
2222
OG_EXPORT
2323
const CFStringRef OGDescriptionIncludeValues OG_SWIFT_NAME(OGGraphRef.descriptionIncludeValues);
2424

25+
OG_EXPORT
26+
const CFStringRef OGDescriptionTruncationLimit OG_SWIFT_NAME(OGGraphRef.descriptionTruncationLimit);
27+
28+
OG_EXPORT
29+
const CFStringRef OGDescriptionMaxFrames OG_SWIFT_NAME(OGGraphRef.descriptionMaxFrames);
30+
2531
static const CFStringRef OGDescriptionFormatDot OG_SWIFT_NAME(OGGraphRef.descriptionFormatDot) = CFSTR("graph/dot");
2632

2733
static const CFStringRef OGDescriptionFormatDictionary OG_SWIFT_NAME(OGGraphRef.descriptionFormatDictionary) = CFSTR("graph/dict");

0 commit comments

Comments
 (0)