]> git.saurik.com Git - cycript.git/blobdiff - libcycript.cy
Instance's toPointer() should return as CFTypeRef.
[cycript.git] / libcycript.cy
index 5c809401c01394c5c2dba712d65107058767260d..7690a299f7eadf6aa43074ecf5433c17c1dbf797 100644 (file)
 
 (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;
 };