X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/7d7d640823920b146382089240fb0dce3b206e83..2c4a8bb6222b88ff96fbf25372179646ce15f706:/libcycript.cy diff --git a/libcycript.cy b/libcycript.cy index 5c80940..7690a29 100644 --- a/libcycript.cy +++ b/libcycript.cy @@ -21,6 +21,13 @@ (function() { +Number.prototype.__defineGetter__('$cyt', function() { + if (this.$cyt_) + return this.$cyt_; + if ((this|0) == this) + return int; +}); + this.typeid = function(object) { return object.$cyt; };