{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/WinObjC/pulls/comments/75768587","id":75768587,"diff_hunk":"@@ -0,0 +1,592 @@\n+//******************************************************************************\n+//\n+// Copyright (c) Microsoft. All rights reserved.\n+//\n+// This code is licensed under the MIT License (MIT).\n+//\n+// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+// THE SOFTWARE.\n+//\n+//******************************************************************************\n+\n+#import <Foundation/NSDecimal.h>\n+#import <StubReturn.h>\n+#include <algorithm>\n+\n+#define EXPONENT_MAX 127\n+#define EXPONENT_MIN -128\n+\n+#define MANTISSA(decimal) decimal->_mantissa\n+\n+#define LENGTH(decimal) decimal->_length\n+\n+#define EXPONENT(decimal) decimal->_exponent\n+\n+#define NEGATIVE_FLAG(decimal) decimal->_isNegative\n+\n+#define SET_TO_ZERO(decimal) \\\n+    LENGTH(decimal) = 0;     \\\n+    EXPONENT(decimal) = 0;   \\\n+    NEGATIVE_FLAG(decimal) = 0\n+\n+#define IS_NEGATIVE(decimal) decimal->_isNegative\n+\n+#define IS_POSITIVE(decimal) !IS_NEGATIVE(decimal)\n+\n+#define IS_ZERO(decimal) (decimal->_length == 0) && IS_POSITIVE(decimal)\n+\n+#define INVALIDATE_DECIMAL(decimal) decimal->_reserved = 1\n+\n+#define VALIDATE_ARITHMETIC_INPUT(result, leftOperand, rightOperand)                \\\n+    if (NSDecimalIsNotANumber(leftOperand) || NSDecimalIsNotANumber(leftOperand)) { \\\n+        if (result) {                                                               \\\n+            INVALIDATE_DECIMAL(result);                                             \\\n+        }                                                                           \\\n+        return NSCalculationNoError;                                                \\\n+    }\n+\n+#define CHECK_DIVIDE_BY0(decimal)                           \\\n+    NSDecimal zero = { 0 };                                 \\\n+    if (NSDecimalCompare(decimal, zero) == NSOrderedSame) { \\\n+        return NSCalculationDivideByZero;                   \\\n+    }\n+\n+/**\n+ @Status Interoperable\n+*/\n+BOOL NSDecimalIsNotANumber(const NSDecimal* dcm) {\n+    THROW_NS_IF_FALSE(E_INVALIDARG, dcm != NULL);\n+    return (dcm->_reserved == 1);\n+}\n+\n+/**\n+ @Status Stub\n+ @Notes\n+*/\n+NSString* NSDecimalString(const NSDecimal* dcm, id locale) {\n+    UNIMPLEMENTED();\n+    return StubReturn();\n+}\n+\n+static NSCalculationError _addSameSign(NSDecimal* result, NSDecimal* x, NSDecimal* y) {\n+    // add starting at the end of the larger number.\n+    // Note: we will have different placements of digits, since the decimal would of been compacted.\n+    // We could ideally do a placement shifting to make the indexing much less complicated, but we would end up doing extra\n+    // mantissa normalization and then just end up recompacting it.\n+    NSDecimal* shortest;\n+    if (NSDecimalCompare(x, y) == NSOrderedDescending) {\n+        NSDecimalCopy(result, x);\n+        shortest = y;\n+    } else {\n+        NSDecimalCopy(result, y);\n+        shortest = x;\n+    }\n+\n+    int carryOver = 0;\n+    int offset = (LENGTH(result) - LENGTH(shortest));\n+    for (int shortIndex = LENGTH(shortest) - 1; shortIndex >= 0; --shortIndex) {\n+        int temp = (MANTISSA(shortest)[shortIndex] + MANTISSA(result)[offset + shortIndex] + carryOver);\n+        MANTISSA(result)[offset + shortIndex] = temp % 10;\n+        carryOver = temp / 10;\n+    }\n+\n+    if (!carryOver) {\n+        // we are done.\n+        return NSCalculationNoError;\n+    }\n+\n+    // we have a carry over, start the propagation of the 1\n+    for (int index = offset - 1; index >= 0; --index) {\n+        if (MANTISSA(result)[index] != 9) {\n+            MANTISSA(result)[index] += 1;\n+            carryOver = 0;\n+            break;\n+        }\n+\n+        MANTISSA(result)[index] = 0;\n+    }\n+\n+    if (!carryOver) {\n+        // we are done.\n+        return NSCalculationNoError;\n+    }\n+\n+    // If we still have a carry over, meaning we need to add one more place to the result and shift it.\n+    // We need to validate if we have enough space for the placement and shift.\n+    if (LENGTH(result) == NSDecimalMaxSize) {\n+        // we don't have any space left.\n+        INVALIDATE_DECIMAL(result);\n+        return NSCalculationLossOfPrecision;\n+    }\n+\n+    // do the shiffting by one and append the carryover.\n+    memmove(&MANTISSA(result)[1], &MANTISSA(result)[0], sizeof(unsigned short) * LENGTH(result));\n+    MANTISSA(result)[0] = 1;\n+\n+    return NSCalculationNoError;\n+}\n+\n+static NSCalculationError _subtractValidRange(NSDecimal* result, NSDecimal* x, NSDecimal* y) {\n+    // Based on filtering in Subtract\n+    NSDecimalCopy(result, x);\n+    NSDecimal* shortest = y;\n+\n+    int borrow = 0;\n+    int offset = (LENGTH(result) - LENGTH(shortest));\n+\n+    for (int shortIndex = LENGTH(shortest) - 1; shortIndex >= 0; --shortIndex) {\n+        int temp = MANTISSA(result)[offset + shortIndex] - MANTISSA(shortest)[shortIndex] - borrow;\n+        // check for any borrow\n+        borrow = (temp < 0) ? 1 : 0;\n+        temp = (temp < 0) ? (temp + 10) : temp;\n+        MANTISSA(result)[offset + shortIndex] = temp;\n+    }\n+\n+    if (!borrow) {\n+        return NSCalculationNoError;\n+    }\n+\n+    for (int index = offset - 1; index >= 0; --index) {\n+        if (MANTISSA(result)[index] != 0) {\n+            MANTISSA(result)[index] -= 1;\n+            borrow = 0;\n+            break;\n+        }\n+        MANTISSA(result)[index] = 9;\n+    }\n+\n+    if (borrow && ((offset - 1) < 0)) {\n+        [NSException raise:NSInternalInconsistencyException format:@\"Invalid stage in decimal subtraction.\"];\n+    }\n+\n+    return NSCalculationNoError;\n+}\n+\n+/**\n+ @Status Interoperable\n+*/\n+NSCalculationError NSDecimalAdd(NSDecimal* result,\n+                                const NSDecimal* leftOperand,\n+                                const NSDecimal* rightOperand,\n+                                NSRoundingMode roundingMode) {\n+    THROW_NS_IF_FALSE(E_INVALIDARG, (leftOperand != NULL) || (rightOperand != NULL) || (result != NULL));\n+    VALIDATE_ARITHMETIC_INPUT(result, leftOperand, rightOperand);\n+\n+    if (IS_ZERO(leftOperand)) {\n+        NSDecimalCopy(result, rightOperand);\n+        return NSCalculationNoError;\n+    }\n+\n+    if (IS_ZERO(rightOperand)) {\n+        NSDecimalCopy(result, leftOperand);\n+        return NSCalculationNoError;\n+    }\n+\n+    if (NEGATIVE_FLAG(leftOperand) != NEGATIVE_FLAG(rightOperand)) {\n+        // We have sign miss match.\n+        return (IS_NEGATIVE(rightOperand) ? NSDecimalSubtract(result, leftOperand, rightOperand, roundingMode) :\n+                                            NSDecimalSubtract(result, rightOperand, leftOperand, roundingMode));\n+    }\n+\n+    NSDecimal left, right;\n+\n+    // Copy over decimal for structural manipulation.\n+    NSDecimalCopy(&left, leftOperand);\n+    NSDecimalCopy(&right, rightOperand);\n+\n+    // normalize both of them\n+    NSCalculationError error;\n+    if ((error = NSDecimalNormalize(&left, &right, roundingMode)) != NSCalculationNoError) {\n+        return error;\n+    }\n+\n+    // They are both the same sign.\n+    if (IS_NEGATIVE(leftOperand) && IS_NEGATIVE(rightOperand)) {\n+        // Both of them are negative, make them positive\n+        NEGATIVE_FLAG((&left)) = 0;\n+        NEGATIVE_FLAG((&right)) = 0;\n+    }\n+\n+    if ((error = _addSameSign(result, &left, &right)) != NSCalculationNoError) {\n+        return error;\n+    }\n+\n+    if (IS_NEGATIVE(leftOperand) && IS_NEGATIVE(rightOperand)) {\n+        // set the negative flag back on.\n+        NEGATIVE_FLAG(result) = 1;\n+    }\n+\n+    NSDecimalCompact(result);\n+    return NSCalculationNoError;\n+}\n+\n+static NSCalculationError _evalSubtractSameNumbers(NSDecimal* result, NSDecimal* left, NSDecimal* right, NSComparisonResult comparison) {\n+    NSCalculationError error = NSCalculationNoError;\n+    switch (comparison) {\n+        case NSOrderedDescending:\n+            error = _subtractValidRange(result, left, right);\n+            break;\n+        case NSOrderedAscending:\n+            error = _subtractValidRange(result, right, left);\n+            NEGATIVE_FLAG(result) = 1;\n+            break;\n+        default:\n+            break;\n+    }\n+\n+    return error;\n+}\n+\n+/**\n+ @Status Interoperable\n+*/\n+NSCalculationError NSDecimalSubtract(NSDecimal* result,\n+                                     const NSDecimal* leftOperand,\n+                                     const NSDecimal* rightOperand,\n+                                     NSRoundingMode roundingMode) {\n+    THROW_NS_IF_FALSE(E_INVALIDARG, (leftOperand != NULL) || (rightOperand != NULL) || (result != NULL));\n+\n+    VALIDATE_ARITHMETIC_INPUT(result, leftOperand, rightOperand);\n+\n+    if (IS_ZERO(leftOperand)) {\n+        NSDecimalCopy(result, rightOperand);\n+        return NSCalculationNoError;\n+    }\n+\n+    if (IS_ZERO(rightOperand)) {\n+        NSDecimalCopy(result, leftOperand);\n+        // flip the sign\n+        NEGATIVE_FLAG(result) = !NEGATIVE_FLAG(result);\n+        return NSCalculationNoError;\n+    }\n+\n+    NSDecimal left, right;\n+\n+    // Copy over decimal for structural manipulation.\n+    NSDecimalCopy(&left, leftOperand);\n+    NSDecimalCopy(&right, rightOperand);\n+    NSCalculationError error;\n+    // Sign diff\n+    if (NEGATIVE_FLAG(leftOperand) != NEGATIVE_FLAG(rightOperand)) {\n+        // We can convert the subtraction into an addition.\n+        if (IS_NEGATIVE(rightOperand)) {\n+            NEGATIVE_FLAG((&right)) = 0;\n+            return NSDecimalAdd(result, leftOperand, &right, roundingMode);\n+        }\n+\n+        NEGATIVE_FLAG((&left)) = 0;\n+\n+        if ((error = NSDecimalAdd(result, &left, rightOperand, roundingMode)) != NSCalculationNoError) {\n+            return error;\n+        }\n+        // reset the negation flag.\n+        NEGATIVE_FLAG(result) = 1;\n+        return error;\n+    }\n+\n+    if ((error = NSDecimalNormalize(&left, &right, roundingMode)) != NSCalculationNoError) {\n+        return error;\n+    }\n+\n+    NSComparisonResult comparison = NSDecimalCompare(leftOperand, rightOperand);\n+    if (comparison == NSOrderedSame) {\n+        SET_TO_ZERO(result);\n+        return NSCalculationNoError;\n+    }\n+\n+    if (IS_NEGATIVE(leftOperand) && IS_NEGATIVE(rightOperand)) {\n+        NEGATIVE_FLAG((&left)) = 0;\n+        NEGATIVE_FLAG((&right)) = 0;\n+        if ((error = _evalSubtractSameNumbers(result, &right, &left, comparison)) != NSCalculationNoError) {\n+            return error;\n+        }\n+    } else {\n+        if ((error = _evalSubtractSameNumbers(result, &left, &right, comparison)) != NSCalculationNoError) {\n+            return error;\n+        }\n+    }\n+\n+    NSDecimalCompact(result);\n+    return NSCalculationNoError;\n+}\n+\n+/**\n+ @Status Interoperable\n+*/\n+void NSDecimalCompact(NSDecimal* number) {\n+    if ((number == NULL) || NSDecimalIsNotANumber(number)) {\n+        return;\n+    }\n+\n+    int indexer = 0;\n+    // remove all the leading and trailing 0s of the mantissa.\n+    while ((indexer < number->_length) && (MANTISSA(number)[indexer] == 0)) {\n+        indexer++;\n+    }\n+\n+    // shift the mantissa by indexer\n+    if (indexer > 0) {\n+        memmove(&MANTISSA(number)[0], &MANTISSA(number)[indexer], sizeof(unsigned short) * (LENGTH(number) - indexer));\n+        LENGTH(number) -= indexer;\n+    }\n+\n+    // remove trailing 0s\n+    indexer = LENGTH(number) - 1;\n+    while ((indexer >= 0) && (MANTISSA(number)[indexer] == 0) && (EXPONENT(number) < EXPONENT_MAX)) {\n+        LENGTH(number)--;\n+        EXPONENT(number)++;\n+        indexer--;\n+    }\n+\n+    if (LENGTH(number) == 0) {\n+        SET_TO_ZERO(number);\n+    }\n+}\n+\n+/**\n+ @Status Interoperable\n+*/\n+NSComparisonResult NSDecimalCompare(const NSDecimal* leftOperand, const NSDecimal* rightOperand) {\n+    if (leftOperand == rightOperand) {\n+        return NSOrderedSame;\n+    }\n+\n+    THROW_NS_IF_FALSE(E_INVALIDARG, (leftOperand != NULL) || (rightOperand != NULL));\n+\n+    if (NEGATIVE_FLAG(leftOperand) != NEGATIVE_FLAG(rightOperand)) {\n+        // miss match in sign.\n+        return IS_NEGATIVE(rightOperand) ? NSOrderedDescending : NSOrderedAscending;\n+    }\n+\n+    int leftValue = EXPONENT(leftOperand) + LENGTH(leftOperand);\n+    int rightValue = EXPONENT(rightOperand) + LENGTH(rightOperand);\n+    if (leftValue > rightValue) {\n+        return IS_NEGATIVE(rightOperand) ? NSOrderedAscending : NSOrderedDescending;\n+    }\n+    if (leftValue < rightValue) {\n+        return IS_NEGATIVE(rightOperand) ? NSOrderedDescending : NSOrderedAscending;\n+    }\n+\n+    // same length\n+    int index = std::min(LENGTH(leftOperand), LENGTH(rightOperand)) - 1;\n+    while (index >= 0) {\n+        if (MANTISSA(leftOperand)[index] < MANTISSA(rightOperand)[index]) {\n+            return (IS_NEGATIVE(rightOperand)) ? NSOrderedDescending : NSOrderedAscending;\n+        }\n+\n+        if (MANTISSA(leftOperand)[index] > MANTISSA(rightOperand)[index]) {\n+            return IS_NEGATIVE(rightOperand) ? NSOrderedAscending : NSOrderedDescending;\n+        }\n+        index--;\n+    }\n+\n+    if (LENGTH(rightOperand) > LENGTH(leftOperand)) {\n+        return IS_NEGATIVE(rightOperand) ? NSOrderedDescending : NSOrderedAscending;\n+    }\n+    if (LENGTH(rightOperand) < LENGTH(leftOperand)) {\n+        return IS_NEGATIVE(rightOperand) ? NSOrderedAscending : NSOrderedDescending;\n+    }\n+\n+    return NSOrderedSame;\n+}\n+\n+/**\n+ @Status Interoperable\n+*/\n+void NSDecimalCopy(NSDecimal* destination, const NSDecimal* source) {\n+    if (!source || !destination) {\n+        return;\n+    }\n+\n+    NEGATIVE_FLAG(destination) = NEGATIVE_FLAG(source);\n+    EXPONENT(destination) = EXPONENT(source);\n+    LENGTH(destination) = LENGTH(source);\n+    destination->_isCompact = source->_isCompact;\n+    destination->_reserved = source->_reserved;\n+    memcpy(&MANTISSA(destination), &MANTISSA(source), NSDecimalMaxSize * sizeof(unsigned short));","path":"Frameworks/Foundation/NSDecimal.mm","position":411,"original_position":411,"commit_id":"a31027d403f8e265ee5ceef5e44b11cb6c6ae2bb","original_commit_id":"a31027d403f8e265ee5ceef5e44b11cb6c6ae2bb","user":{"login":"bviglietta","id":7670607,"avatar_url":"https://avatars.githubusercontent.com/u/7670607?v=3","gravatar_id":"","url":"https://api.github.com/users/bviglietta","html_url":"https://github.com/bviglietta","followers_url":"https://api.github.com/users/bviglietta/followers","following_url":"https://api.github.com/users/bviglietta/following{/other_user}","gists_url":"https://api.github.com/users/bviglietta/gists{/gist_id}","starred_url":"https://api.github.com/users/bviglietta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bviglietta/subscriptions","organizations_url":"https://api.github.com/users/bviglietta/orgs","repos_url":"https://api.github.com/users/bviglietta/repos","events_url":"https://api.github.com/users/bviglietta/events{/privacy}","received_events_url":"https://api.github.com/users/bviglietta/received_events","type":"User","site_admin":false},"body":"*destination = *source;   ?","created_at":"2016-08-22T22:09:09Z","updated_at":"2016-08-22T22:09:09Z","html_url":"https://github.com/Microsoft/WinObjC/pull/896#discussion_r75768587","pull_request_url":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/WinObjC/pulls/comments/75768587"},"html":{"href":"https://github.com/Microsoft/WinObjC/pull/896#discussion_r75768587"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896","id":82052153,"html_url":"https://github.com/Microsoft/WinObjC/pull/896","diff_url":"https://github.com/Microsoft/WinObjC/pull/896.diff","patch_url":"https://github.com/Microsoft/WinObjC/pull/896.patch","issue_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/896","number":896,"state":"open","locked":false,"title":"NSDecimal + NSDecimalNumber Implementation.","user":{"login":"msft-Jeyaram","id":18413092,"avatar_url":"https://avatars.githubusercontent.com/u/18413092?v=3","gravatar_id":"","url":"https://api.github.com/users/msft-Jeyaram","html_url":"https://github.com/msft-Jeyaram","followers_url":"https://api.github.com/users/msft-Jeyaram/followers","following_url":"https://api.github.com/users/msft-Jeyaram/following{/other_user}","gists_url":"https://api.github.com/users/msft-Jeyaram/gists{/gist_id}","starred_url":"https://api.github.com/users/msft-Jeyaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msft-Jeyaram/subscriptions","organizations_url":"https://api.github.com/users/msft-Jeyaram/orgs","repos_url":"https://api.github.com/users/msft-Jeyaram/repos","events_url":"https://api.github.com/users/msft-Jeyaram/events{/privacy}","received_events_url":"https://api.github.com/users/msft-Jeyaram/received_events","type":"User","site_admin":false},"body":"Holding off one the divide and multiplication as i'm still working on fixing some cases.\r\nWill send out it as part of this CR. ( force squash will make it appear as one iteration in Codeflow)","created_at":"2016-08-19T22:01:55Z","updated_at":"2016-08-22T22:09:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68f1fbb4923d3a40c277ec8f88fc1d2ed3a0eab5","assignee":{"login":"DHowett-MSFT","id":14316954,"avatar_url":"https://avatars.githubusercontent.com/u/14316954?v=3","gravatar_id":"","url":"https://api.github.com/users/DHowett-MSFT","html_url":"https://github.com/DHowett-MSFT","followers_url":"https://api.github.com/users/DHowett-MSFT/followers","following_url":"https://api.github.com/users/DHowett-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/DHowett-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/DHowett-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DHowett-MSFT/subscriptions","organizations_url":"https://api.github.com/users/DHowett-MSFT/orgs","repos_url":"https://api.github.com/users/DHowett-MSFT/repos","events_url":"https://api.github.com/users/DHowett-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/DHowett-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"DHowett-MSFT","id":14316954,"avatar_url":"https://avatars.githubusercontent.com/u/14316954?v=3","gravatar_id":"","url":"https://api.github.com/users/DHowett-MSFT","html_url":"https://github.com/DHowett-MSFT","followers_url":"https://api.github.com/users/DHowett-MSFT/followers","following_url":"https://api.github.com/users/DHowett-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/DHowett-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/DHowett-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DHowett-MSFT/subscriptions","organizations_url":"https://api.github.com/users/DHowett-MSFT/orgs","repos_url":"https://api.github.com/users/DHowett-MSFT/repos","events_url":"https://api.github.com/users/DHowett-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/DHowett-MSFT/received_events","type":"User","site_admin":false},{"login":"rajsesh-msft","id":15148713,"avatar_url":"https://avatars.githubusercontent.com/u/15148713?v=3","gravatar_id":"","url":"https://api.github.com/users/rajsesh-msft","html_url":"https://github.com/rajsesh-msft","followers_url":"https://api.github.com/users/rajsesh-msft/followers","following_url":"https://api.github.com/users/rajsesh-msft/following{/other_user}","gists_url":"https://api.github.com/users/rajsesh-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/rajsesh-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajsesh-msft/subscriptions","organizations_url":"https://api.github.com/users/rajsesh-msft/orgs","repos_url":"https://api.github.com/users/rajsesh-msft/repos","events_url":"https://api.github.com/users/rajsesh-msft/events{/privacy}","received_events_url":"https://api.github.com/users/rajsesh-msft/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896/commits","review_comments_url":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896/comments","review_comment_url":"https://api.github.com/repos/Microsoft/WinObjC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/896/comments","statuses_url":"https://api.github.com/repos/Microsoft/WinObjC/statuses/a31027d403f8e265ee5ceef5e44b11cb6c6ae2bb","head":{"label":"msft-Jeyaram:NSDecimalGit-100","ref":"NSDecimalGit-100","sha":"a31027d403f8e265ee5ceef5e44b11cb6c6ae2bb","user":{"login":"msft-Jeyaram","id":18413092,"avatar_url":"https://avatars.githubusercontent.com/u/18413092?v=3","gravatar_id":"","url":"https://api.github.com/users/msft-Jeyaram","html_url":"https://github.com/msft-Jeyaram","followers_url":"https://api.github.com/users/msft-Jeyaram/followers","following_url":"https://api.github.com/users/msft-Jeyaram/following{/other_user}","gists_url":"https://api.github.com/users/msft-Jeyaram/gists{/gist_id}","starred_url":"https://api.github.com/users/msft-Jeyaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msft-Jeyaram/subscriptions","organizations_url":"https://api.github.com/users/msft-Jeyaram/orgs","repos_url":"https://api.github.com/users/msft-Jeyaram/repos","events_url":"https://api.github.com/users/msft-Jeyaram/events{/privacy}","received_events_url":"https://api.github.com/users/msft-Jeyaram/received_events","type":"User","site_admin":false},"repo":{"id":62348752,"name":"WinObjC","full_name":"msft-Jeyaram/WinObjC","owner":{"login":"msft-Jeyaram","id":18413092,"avatar_url":"https://avatars.githubusercontent.com/u/18413092?v=3","gravatar_id":"","url":"https://api.github.com/users/msft-Jeyaram","html_url":"https://github.com/msft-Jeyaram","followers_url":"https://api.github.com/users/msft-Jeyaram/followers","following_url":"https://api.github.com/users/msft-Jeyaram/following{/other_user}","gists_url":"https://api.github.com/users/msft-Jeyaram/gists{/gist_id}","starred_url":"https://api.github.com/users/msft-Jeyaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msft-Jeyaram/subscriptions","organizations_url":"https://api.github.com/users/msft-Jeyaram/orgs","repos_url":"https://api.github.com/users/msft-Jeyaram/repos","events_url":"https://api.github.com/users/msft-Jeyaram/events{/privacy}","received_events_url":"https://api.github.com/users/msft-Jeyaram/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msft-Jeyaram/WinObjC","description":"Objective-C for Windows","fork":true,"url":"https://api.github.com/repos/msft-Jeyaram/WinObjC","forks_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/forks","keys_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/teams","hooks_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/hooks","issue_events_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/issues/events{/number}","events_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/events","assignees_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/assignees{/user}","branches_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/branches{/branch}","tags_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/tags","blobs_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/git/refs{/sha}","trees_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/statuses/{sha}","languages_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/languages","stargazers_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/stargazers","contributors_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/contributors","subscribers_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/subscribers","subscription_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/subscription","commits_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/commits{/sha}","git_commits_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/git/commits{/sha}","comments_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/comments{/number}","issue_comment_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/issues/comments{/number}","contents_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/contents/{+path}","compare_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/merges","archive_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/downloads","issues_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/issues{/number}","pulls_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/pulls{/number}","milestones_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/milestones{/number}","notifications_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/labels{/name}","releases_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/releases{/id}","deployments_url":"https://api.github.com/repos/msft-Jeyaram/WinObjC/deployments","created_at":"2016-06-30T23:38:58Z","updated_at":"2016-06-30T23:39:12Z","pushed_at":"2016-08-19T22:00:35Z","git_url":"git://github.com/msft-Jeyaram/WinObjC.git","ssh_url":"git@github.com:msft-Jeyaram/WinObjC.git","clone_url":"https://github.com/msft-Jeyaram/WinObjC.git","svn_url":"https://github.com/msft-Jeyaram/WinObjC","homepage":"","size":331311,"stargazers_count":0,"watchers_count":0,"language":"Objective-C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Microsoft:develop","ref":"develop","sha":"fff2876358590ad4f4c78814bfb6ba72f6d417f4","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":37950166,"name":"WinObjC","full_name":"Microsoft/WinObjC","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/WinObjC","description":"Objective-C for Windows","fork":false,"url":"https://api.github.com/repos/Microsoft/WinObjC","forks_url":"https://api.github.com/repos/Microsoft/WinObjC/forks","keys_url":"https://api.github.com/repos/Microsoft/WinObjC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/WinObjC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/WinObjC/teams","hooks_url":"https://api.github.com/repos/Microsoft/WinObjC/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/WinObjC/events","assignees_url":"https://api.github.com/repos/Microsoft/WinObjC/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/WinObjC/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/WinObjC/tags","blobs_url":"https://api.github.com/repos/Microsoft/WinObjC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/WinObjC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/WinObjC/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/WinObjC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/WinObjC/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/WinObjC/languages","stargazers_url":"https://api.github.com/repos/Microsoft/WinObjC/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/WinObjC/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/WinObjC/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/WinObjC/subscription","commits_url":"https://api.github.com/repos/Microsoft/WinObjC/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/WinObjC/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/WinObjC/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/WinObjC/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/WinObjC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/WinObjC/merges","archive_url":"https://api.github.com/repos/Microsoft/WinObjC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/WinObjC/downloads","issues_url":"https://api.github.com/repos/Microsoft/WinObjC/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/WinObjC/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/WinObjC/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/WinObjC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/WinObjC/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/WinObjC/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/WinObjC/deployments","created_at":"2015-06-23T23:14:58Z","updated_at":"2016-08-21T21:48:12Z","pushed_at":"2016-08-22T21:40:25Z","git_url":"git://github.com/Microsoft/WinObjC.git","ssh_url":"git@github.com:Microsoft/WinObjC.git","clone_url":"https://github.com/Microsoft/WinObjC.git","svn_url":"https://github.com/Microsoft/WinObjC","homepage":"","size":334358,"stargazers_count":5416,"watchers_count":5416,"language":"Objective-C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":692,"mirror_url":null,"open_issues_count":226,"forks":692,"open_issues":226,"watchers":5416,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896"},"html":{"href":"https://github.com/Microsoft/WinObjC/pull/896"},"issue":{"href":"https://api.github.com/repos/Microsoft/WinObjC/issues/896"},"comments":{"href":"https://api.github.com/repos/Microsoft/WinObjC/issues/896/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/WinObjC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/WinObjC/pulls/896/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/WinObjC/statuses/a31027d403f8e265ee5ceef5e44b11cb6c6ae2bb"}}}}
{"actor":{"display_login":"bviglietta"}}