This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef CXX_NO_ENUM_CLASS | |
| // We have enum class | |
| /** | |
| Unified interface to the ENUM_CLASS macro. You should NOT leave a trailing comma (`,`). | |
| @note We use a variadic macro to avoid hackery with enum members. | |
| **/ | |
| #define ENUM_CLASS(name, type, ...) \ | |
| enum class name : type { \ | |
| __VA_ARGS__, } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| header('Content-type: application/javascript; charset=utf-8'); | |
| function getJSON($path) | |
| { | |
| return file_get_contents($path); | |
| } | |
| function getJSONP($path, $callback) | |
| { |