X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b4b71b79d0712e76e649ad06eb76246071175fd1..b5af12b8bc9c3fda53ebce1ba823734a279610c9:/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 *);