99#include <OpenGraph/OGGraph.h>
1010#include <OpenGraph/OGUniqueID.h>
1111
12- typedef OG_OPTIONS (uint32_t , OGGraphTraceFlags ) {
13- OGGraphTraceFlagsEnabled = 1 << 0 ,
14- OGGraphTraceFlagsFull = 1 << 1 ,
15- OGGraphTraceFlagsBacktrace = 1 << 2 ,
16- OGGraphTraceFlagsPrepare = 1 << 3 ,
17- OGGraphTraceFlagsCustom = 1 << 4 ,
18- OGGraphTraceFlagsAll = 1 << 5 ,
19- } OG_SWIFT_NAME (OGGraphRef .TraceFlags );
12+ typedef OG_OPTIONS (uint32_t , OGGraphTraceOptions ) {
13+ OGGraphTraceOptionsEnabled = 1 << 0 ,
14+ OGGraphTraceOptionsFull = 1 << 1 ,
15+ OGGraphTraceOptionsBacktrace = 1 << 2 ,
16+ OGGraphTraceOptionsPrepare = 1 << 3 ,
17+ OGGraphTraceOptionsCustom = 1 << 4 ,
18+ OGGraphTraceOptionsAll = 1 << 5 ,
19+ } OG_SWIFT_NAME (OGGraphRef .TraceOptions );
2020
2121typedef struct OGTrace * OGTraceRef ;
2222
@@ -28,11 +28,11 @@ OG_EXTERN_C_BEGIN
2828
2929OG_EXPORT
3030OG_REFINED_FOR_SWIFT
31- void OGGraphStartTracing (_Nullable OGGraphRef graph , OGGraphTraceFlags flags ) OG_SWIFT_NAME (OGGraphRef .startTracing (_ :flags :));
31+ void OGGraphStartTracing (_Nullable OGGraphRef graph , OGGraphTraceOptions options ) OG_SWIFT_NAME (OGGraphRef .startTracing (_ :options :));
3232
3333OG_EXPORT
3434OG_REFINED_FOR_SWIFT
35- void OGGraphStartTracing2 (_Nullable OGGraphRef graph , OGGraphTraceFlags flags , _Nullable CFArrayRef subsystems ) OG_SWIFT_NAME (OGGraphRef .startTracing (_ :flags :subsystems :));
35+ void OGGraphStartTracing2 (_Nullable OGGraphRef graph , OGGraphTraceOptions options , _Nullable CFArrayRef subsystems ) OG_SWIFT_NAME (OGGraphRef .startTracing (_ :flags :subsystems :));
3636
3737OG_EXPORT
3838OG_REFINED_FOR_SWIFT
0 commit comments