X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/f95d2598051e347460e028286ff2d33e5825e548..a7d8b4130acfb550e437d8cf1f6d3d81cb0cf6ee:/Standard.hpp?ds=inline diff --git a/Standard.hpp b/Standard.hpp index b60dca5..f2f93b3 100644 --- a/Standard.hpp +++ b/Standard.hpp @@ -1,5 +1,5 @@ /* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2014 Jay Freeman (saurik) + * Copyright (C) 2009-2015 Jay Freeman (saurik) */ /* GNU Affero General Public License, Version 3 {{{ */ @@ -39,4 +39,9 @@ #define _noreturn \ __attribute__((__noreturn__)) +#define _visible \ + __attribute__((__visibility__("default"))) +#define _extern \ + extern "C" _visible + #endif/*CYCRIPT_STANDARD_HPP*/