X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/49e976ae47b9d4bb43b102466140c4229a5ac0ca..b5af12b8bc9c3fda53ebce1ba823734a279610c9:/Baton.hpp?ds=inline diff --git a/Baton.hpp b/Baton.hpp index 3ce4e62..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,17 +25,14 @@ struct Baton { void (*__pthread_set_self)(pthread_t); - int (*pthread_create)(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *); - int (*pthread_join)(pthread_t, void **); - - void *(*dlopen)(const char *, int); - char *(*dlerror)(); - void *(*dlsym)(void *, const char *); mach_port_t (*mach_thread_self)(); kern_return_t (*thread_terminate)(thread_act_t); + char *(*dlerror)(); + void *(*dlsym)(void *, const char *); + pid_t pid; char library[]; };