X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/c6bf4f310a33a9262d455ea4d3f0630b1255e3fe..ea3f04195ba4a5034c9c8e9b726d4f7ce96f1832:/iokit/IOKit/IORegistryEntry.h diff --git a/iokit/IOKit/IORegistryEntry.h b/iokit/IOKit/IORegistryEntry.h index c9e059654..af3b946ea 100644 --- a/iokit/IOKit/IORegistryEntry.h +++ b/iokit/IOKit/IORegistryEntry.h @@ -184,6 +184,11 @@ public: void *arg0 = NULL, void *arg1 = NULL, void *arg2 = NULL, void *arg3 = NULL); +#ifdef __BLOCKS__ + typedef IOReturn (^ActionBlock)(void); + IOReturn runPropertyActionBlock(ActionBlock block); +#endif /* __BLOCKS__ */ + private: #if __LP64__ OSMetaClassDeclareReservedUnused(IORegistryEntry, 0);