Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1.7 kB · 84 lines
C
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485#include "DADissenter.h"#include <CoreFoundation/CFRuntime.h>
struct _DADissenter{ CFRuntimeBase _parent; const CFArrayCallBacks *_callBacks;};
static CFTypeID _kDADissenterTypeID = 0;static void DADissenterFinalize(CFTypeRef cf);static Boolean DADissenterEqual(CFTypeRef cf1, CFTypeRef cf2);static CFHashCode DADissenterHash(CFTypeRef cf);static DADissenterRef DADissenterCreateCopy (CFAllocatorRef allocator, DADissenterRef disk);
static CFRuntimeClass DADissenterClass = { 0, "DADissenter", NULL, (CFTypeRef (*)(CFAllocatorRef, CFTypeRef)) DADissenterCreateCopy, DADissenterFinalize, DADissenterEqual, DADissenterHash, NULL, NULL};
__attribute__((constructor))voidDADissenterInitialize (void){ _kDADissenterTypeID = _CFRuntimeRegisterClass (&DADissenterClass);}
#define DADISSENTER_SIZE sizeof(struct _DADissenter) - sizeof(CFRuntimeBase)
static voidDADissenterFinalize (CFTypeRef cf){}
static BooleanDADissenterEqual (CFTypeRef cf1, CFTypeRef cf2){ return 0;}
static CFHashCodeDADissenterHash (CFTypeRef cf){ return 0;}
static DADissenterRefDADissenterCreateCopy (CFAllocatorRef allocator, DADissenterRef disk){ return (DADissenterRef) CFRetain(disk);}
CFTypeID DADissenterGetTypeID(void){ return _kDADissenterTypeID;}
DADissenterRef DADissenterCreate(CFAllocatorRef allocator, DAReturn status, CFStringRef string){ DADissenterRef new; new = (DADissenterRef) _CFRuntimeCreateInstance (allocator, _kDADissenterTypeID, DADISSENTER_SIZE, 0); return new;}
DAReturn DADissenterGetStatus(DADissenterRef dissenter){ return 0;}
CFStringRef DADissenterGetStatusString(DADissenterRef dissenter){ return CFSTR("dummy");}