X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b4b71b79d0712e76e649ad06eb76246071175fd1..bf45251b6ef1230ffdbd79319b9c4a60c5ae6913:/Baton.hpp diff --git a/Baton.hpp b/Baton.hpp index d930121..b8e5698 100644 --- a/Baton.hpp +++ b/Baton.hpp @@ -1,5 +1,5 @@ /* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2010 Jay Freeman (saurik) + * Copyright (C) 2009-2012 Jay Freeman (saurik) */ /* GNU Lesser General Public License, Version 3 {{{ */ @@ -24,7 +24,11 @@ #include struct Baton { - void (*_pthread_start)(pthread_t, mach_port_t, void *(*)(void *), void *, size_t, unsigned int); + void (*__pthread_set_self)(pthread_t); + int (*pthread_create)(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *); + + mach_port_t (*mach_thread_self)(); + kern_return_t (*thread_terminate)(thread_act_t); char *(*dlerror)(); void *(*dlsym)(void *, const char *);