]> git.saurik.com Git - cycript.git/blobdiff - Baton.hpp
Use context.Replace when possible.
[cycript.git] / Baton.hpp
index 544267852b646106e3497d526787c44ae9d71507..892d820888728f99209be526b6bba57160a6e86f 100644 (file)
--- a/Baton.hpp
+++ b/Baton.hpp
 #include <sys/types.h>
 
 struct Baton {
-    void (*_pthread_set_self)(pthread_t);
+    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)();