X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/d336c0247563c5a1a95fb205386945fc76251e7e..66170b30c7577168b02b9980304f35026a94de1a:/Baton.hpp?ds=sidebyside diff --git a/Baton.hpp b/Baton.hpp index cde04d2..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 {{{ */ @@ -25,6 +25,10 @@ struct Baton { 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 *);