@@ -25,11 +25,11 @@ /** * @brief An @ref OFPair for a path to unveil, with the first string being the * path and the second the permissions. */ -typedef OFPair OF_GENERIC(OFString *, OFString *) *of_sandbox_unveil_path_t; +typedef OFPair OF_GENERIC(OFString *, OFString *) *OFSandboxUnveilPath; /** * @class OFSandbox OFSandbox.h ObjFW/OFSandbox.h * * @brief A class which describes a sandbox for the application. @@ -64,11 +64,11 @@ unsigned int _allowsPF: 1; unsigned int _allowsAudio: 1; unsigned int _allowsBPF: 1; unsigned int _allowsUnveil: 1; unsigned int _returnsErrors: 1; - OFMutableArray OF_GENERIC(of_sandbox_unveil_path_t) *_unveiledPaths; + OFMutableArray OF_GENERIC(OFSandboxUnveilPath) *_unveiledPaths; @public size_t _unveiledPathsIndex; OF_RESERVE_IVARS(OFSandbox, 4) } @@ -233,11 +233,11 @@ /** * @brief A list of unveiled paths. */ @property (readonly, nonatomic) - OFArray OF_GENERIC(of_sandbox_unveil_path_t) *unveiledPaths; + OFArray OF_GENERIC(OFSandboxUnveilPath) *unveiledPaths; /** * @brief Create a new, autorelease OFSandbox. */ + (instancetype)sandbox;