]> git.saurik.com Git - cycript.git/blobdiff - Baton.hpp
As FunctionInstance is different, it must be last.
[cycript.git] / Baton.hpp
index e2f96e4cd4a50d9253cca2ed4c4fc5d50721e4bc..696a94dee8f714319bce4c7da259a78b1246a953 100644 (file)
--- a/Baton.hpp
+++ b/Baton.hpp
 **/
 /* }}} */
 
+#include "Standard.hpp"
+
 #include <dlfcn.h>
 #include <mach/mach.h>
 #include <sys/types.h>
 
 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 *);
-
+    uint64_t dyld;
     pid_t pid;
+    char error[1024];
     char library[];
-};
+} _packed;