/* 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 {{{ */
#include <sys/types.h>
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 *);