@@ -119,7 +119,7 @@ LiluAPI::Error LiluAPI::onPatcherLoad(t_patcherLoaded callback, void *user) {
119119
120120 if (!patcherLoadedCallbacks.push_back <2 >(pcall)) {
121121 SYSLOG (" api" , " failed to store stored_pair<t_patcherLoaded>" );
122- pcall-> deleter (pcall);
122+ stored_pair<t_patcherLoaded>:: deleter (pcall);
123123 return Error::MemoryError;
124124 }
125125
@@ -141,7 +141,7 @@ LiluAPI::Error LiluAPI::onKextLoad(KernelPatcher::KextInfo *infos, size_t num, t
141141
142142 if (!kextLoadedCallbacks.push_back <4 >(pcall)) {
143143 SYSLOG (" api" , " failed to store stored_pair<t_kextLoaded>" );
144- pcall-> deleter (pcall);
144+ stored_pair<t_kextLoaded>:: deleter (pcall);
145145 return Error::MemoryError;
146146 }
147147 }
@@ -160,7 +160,7 @@ LiluAPI::Error LiluAPI::onKextLoad(KernelPatcher::KextInfo *infos, size_t num, t
160160
161161 if (!storedKexts.push_back <4 >(pkext)) {
162162 SYSLOG (" api" , " failed to store stored_pair<KextInfo>" );
163- pkext-> deleter (pkext);
163+ stored_pair<KernelPatcher::KextInfo *, size_t >:: deleter (pkext);
164164 return Error::MemoryError;
165165 }
166166 }
@@ -169,10 +169,7 @@ LiluAPI::Error LiluAPI::onKextLoad(KernelPatcher::KextInfo *infos, size_t num, t
169169}
170170
171171LiluAPI::Error LiluAPI::onProcLoad (UserPatcher::ProcInfo *infos, size_t num, UserPatcher::t_BinaryLoaded callback, void *user, UserPatcher::BinaryModInfo *mods, size_t modnum) {
172- // It seems to partially work
173- // Offer no support for user patcher before 10.9
174- // if (getKernelVersion() <= KernelVersion::MountainLion)
175- // return Error::IncompatibleOS;
172+ // We do not officially support user patcher prior to 10.9, yet it seems to partially work
176173
177174 // Store the callbacks
178175 if (callback) {
@@ -188,7 +185,7 @@ LiluAPI::Error LiluAPI::onProcLoad(UserPatcher::ProcInfo *infos, size_t num, Use
188185
189186 if (!binaryLoadedCallbacks.push_back <2 >(pcall)) {
190187 SYSLOG (" api" , " failed to store stored_pair<t_binaryLoaded>" );
191- pcall-> deleter (pcall);
188+ stored_pair<UserPatcher::t_BinaryLoaded>:: deleter (pcall);
192189 return Error::MemoryError;
193190 }
194191 }
@@ -226,7 +223,7 @@ LiluAPI::Error LiluAPI::onEntitlementRequest(t_entitlementRequested callback, vo
226223
227224 if (!entitlementRequestedCallbacks.push_back <2 >(ecall)) {
228225 SYSLOG (" api" , " failed to store stored_pair<t_entitlementRequested>" );
229- ecall-> deleter (ecall);
226+ stored_pair<t_entitlementRequested>:: deleter (ecall);
230227 return Error::MemoryError;
231228 }
232229
0 commit comments