]> git.saurik.com Git - cycript.git/blobdiff - libcycript.cy
Convert static inline functions into bridge stubs.
[cycript.git] / libcycript.cy
index 7c279cb619d12da6a8d7c61f3aea5e772764ac5f..3f699c8a7226d15e24197dd616731096afb3cb72 100644 (file)
@@ -35,17 +35,10 @@ let $cy_set = function(object, properties) {
         });
 };
 
-const F_OK = 0;
 const X_OK = (1<<0);
 const W_OK = (1<<1);
 const R_OK = (1<<2);
 
-typedef long size_t;
-
-extern "C" int access(const char *path, int amode);
-extern "C" char *getcwd(char *buf, size_t size);
-extern "C" int getpid();
-
 $cy_set(Date.prototype, {
     toCYON: function() {
         return `new ${this.constructor.name}(${this.toUTCString().toCYON()})`;