@@ -22,7 +22,7 @@ typedef struct CMBaseProtocolTable CMBaseProtocolTable;
2222typedef OSStatus (*CMBaseObjectCopyPropertyFunction)(CMBaseObjectRef object, CFStringRef propertyKey, CFAllocatorRef allocator, void *propertyValueOut);
2323typedef OSStatus (*CMBaseObjectSetPropertyFunction)(CMBaseObjectRef object, CFStringRef propertyKey, CFTypeRef propertyValue);
2424
25- typedef struct __attribute__ ((packed)) {
25+ typedef struct {
2626 CMBaseClassVersion version;
2727 size_t derivedStorageSize;
2828 Boolean (*equal)(CMBaseObjectRef o, CMBaseObjectRef compareTo);
@@ -35,11 +35,29 @@ typedef struct __attribute__((packed)) {
3535 const CMBaseProtocolTable *protocolTable;
3636} CMBaseClass;
3737
38+ typedef struct __attribute__ ((packed)) {
39+ CMBaseClassVersion version;
40+ size_t derivedStorageSize;
41+ Boolean (*equal)(CMBaseObjectRef o, CMBaseObjectRef compareTo);
42+ OSStatus (*invalidate)(CMBaseObjectRef o);
43+ void (*finalize)(CMBaseObjectRef o);
44+ CFStringRef (*copyDebugDescription)(CMBaseObjectRef o);
45+ CMBaseObjectCopyPropertyFunction copyProperty;
46+ CMBaseObjectSetPropertyFunction setProperty;
47+ OSStatus (*notificationBarrier)(CMBaseObjectRef o);
48+ const CMBaseProtocolTable *protocolTable;
49+ } CMBaseClass_iOS10;
50+
3851typedef struct {
3952 const struct OpaqueCMBaseVTableReserved *reserved;
4053 const CMBaseClass *baseClass;
4154} CMBaseVTable;
4255
56+ typedef struct {
57+ const struct OpaqueCMBaseVTableReserved *reserved;
58+ const CMBaseClass_iOS10 *baseClass;
59+ } CMBaseVTable_iOS10;
60+
4361const CMBaseVTable *CMBaseObjectGetVTable (CMBaseObjectRef o);
4462
4563@interface BWFigCaptureStream : NSObject
0 commit comments