]> git.saurik.com Git - cycript.git/blobdiff - Analyze.cpp
Add support for __int128 (though not with libffi).
[cycript.git] / Analyze.cpp
index 922dfb1cd3d56d88c56ff74a6ccc23dbfb81eacd..466144d1fac5fbcafbc9875a7a41f901ce87df57 100644 (file)
@@ -381,6 +381,9 @@ static void CYParseType(CXType type, CYTypedIdentifier *typed) {
         case CXType_LongLong: typed->specifier_ = $ CYTypeIntegral(CYTypeSigned, 3); break;
         case CXType_ULongLong: typed->specifier_ = $ CYTypeIntegral(CYTypeUnsigned, 3); break;
 
+        case CXType_Int128: typed->specifier_ = $ CYTypeInt128(CYTypeSigned); break;
+        case CXType_UInt128: typed->specifier_ = $ CYTypeInt128(CYTypeUnsigned); break;
+
         case CXType_BlockPointer: {
             CXType pointee(clang_getPointeeType(type));
             _assert(!clang_isFunctionTypeVariadic(pointee));