]> git.saurik.com Git - cycript.git/blobdiff - Bridge.def
On Mac OS X 10.9, cstddef is needed for offsetof.
[cycript.git] / Bridge.def
index 0071f3893328cfa49f35f7c14c3a806928aed814..3cf53b067c087b9b8749a5e156c3747985eae0f6 100644 (file)
@@ -23,6 +23,8 @@ T float f
 T double d
 
 T Boolean B
+T BOOL B
+T bool B
 
 T int8_t {char}
 T uint8_t {byte}
@@ -342,7 +344,7 @@ V UIKeyboardAnimationDurationUserInfoKey @
 
 F UIApplicationMain ii^^c@@
 
-F UIImageJPEGRepresentation @@
+F UIImageJPEGRepresentation @@f
 F UIImagePNGRepresentation @@
 F UIImageWriteToSavedPhotosAlbum v@@:^v
 
@@ -1614,7 +1616,7 @@ C RTLD_NEXT -1
 C RTLD_DEFAULT -2
 C RTLD_SELF -3
 
-S dl_info "dli_fname"*"dli_fbase"v^"dli_sname"*"dli_saddr"^v
+S dl_info "dli_fname"*"dli_fbase"^v"dli_sname"*"dli_saddr"^v
 T Dl_info {dl_info}
 
 F dladdr i^rv^{dl_info}