]> git.saurik.com Git - cycript.git/blobdiff - Standard.hpp
Always assign methods (to support JavaScriptCore).
[cycript.git] / Standard.hpp
index 6c9da9f05fc58ca7a10b48174b79778f8deb0f50..f2f93b35088209ea1ea4577a571ad69daed1b11e 100644 (file)
@@ -39,4 +39,9 @@
 #define _noreturn \
     __attribute__((__noreturn__))
 
+#define _visible \
+    __attribute__((__visibility__("default")))
+#define _extern \
+    extern "C" _visible
+
 #endif/*CYCRIPT_STANDARD_HPP*/