X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/11b0723c033fa7d6452faae6da15d8848e705fbd..d5fa31c512a3fefcc82ac3d757b25f59cd9c142a:/Bridge.def diff --git a/Bridge.def b/Bridge.def index e9c530b..111b5db 100644 --- a/Bridge.def +++ b/Bridge.def @@ -1,20 +1,23 @@ C YES true C NO false -C nil null C NULL null : applicationDidFinishLaunching: v12@0:4@8 T id @ +T Class # +T SEL : T short s T int i T long l +T longlong q T byte C +T ushort S T uint I T ulong L -T ushort S +T ulonglong Q T char c T boolean B @@ -22,17 +25,30 @@ T float f T double d T Boolean B - -T SInt8 {char} -T UInt8 {byte} -T SInt16 {short} -T UInt16 {ushort} -T SInt32 {int} -T UInt32 {uint} - -S CGPoint "x"f"y"f +T BOOL B +T bool B + +T int8_t {char} +T uint8_t {byte} +T int16_t {short} +T uint16_t {ushort} +T int32_t {int} +T uint32_t {uint} +T int64_t {longlong} +T uint64_t {ulonglong} + +T SInt8 {int8_t} +T UInt8 {uint8_t} +T SInt16 {int16_t} +T UInt16 {uint16_t} +T SInt32 {int32_t} +T UInt32 {uint32_t} +T SInt64 {int64_t} +T UInt64 {uint64_t} + +S CGPoint "x"{CGFloat}"y"{CGFloat} S CGRect "origin"{CGPoint}"size"{CGSize} -S CGSize "width"f"height"f +S CGSize "width"{CGFloat}"height"{CGFloat} l c @@ -118,7 +134,7 @@ F property_getName *^{objc_property=} F protocol_conformsToProtocol B@@ F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I -F protocol_copyPropertyList ^{objc_property=}@^I +F protocol_copyPropertyList ^^{objc_property=}@^I F protocol_copyProtocolList ^@@^I F protocol_getMethodDescription {objc_method_description=:*}@:BB F protocol_getName *@ @@ -330,7 +346,7 @@ V UIKeyboardAnimationDurationUserInfoKey @ F UIApplicationMain ii^^c@@ -F UIImageJPEGRepresentation @@ +F UIImageJPEGRepresentation @@f F UIImagePNGRepresentation @@ F UIImageWriteToSavedPhotosAlbum v@@:^v @@ -1227,7 +1243,7 @@ F CFShowStr v@ f CoreGraphics -T CGFloat f +T CGFloat F # CGAffineTransform @@ -1437,6 +1453,7 @@ T NSMapTable {_NSMapTable} T NSMapTableOptions {NSUInteger} # NSMapTableValueCallBacks +S _NSPoint "x"{CGFloat}"y"{CGFloat} T NSPoint {_NSPoint} T NSPointArray ^{NSPoint} T NSPointPointer ^{NSPoint} @@ -1601,7 +1618,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}