diff options
author | 卜部昌平 <[email protected]> | 2021-06-07 14:12:04 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2021-09-10 20:00:06 +0900 |
commit | 7ead69068edaddf62487d6525b8fe29231566947 (patch) | |
tree | 990b5d716c91f0dd060f8a150068cc6a035a661a /include/ruby/backward | |
parent | f05dc8b44a1d546ed1046860454f92b094efb475 (diff) |
include/ruby/backward/2/long_long.h: add doxygen
Might want to delete LONG_LONG macro but for the time being let us
describe what on earth it is. [ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'include/ruby/backward')
-rw-r--r-- | include/ruby/backward/2/long_long.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/ruby/backward/2/long_long.h b/include/ruby/backward/2/long_long.h index 936232bc40..8e6b2743fc 100644 --- a/include/ruby/backward/2/long_long.h +++ b/include/ruby/backward/2/long_long.h @@ -29,7 +29,15 @@ #include "ruby/internal/has/warning.h" #include "ruby/internal/warning_push.h" -#if RBIMPL_HAS_WARNING("-Wc++11-long-long") +#if defined(__DOXYGEN__) +# /** @cond INTERNAL_MACRO */ +# define HAVE_LONG_LONG 1 +# define HAVE_TRUE_LONG_LONG 1 +# /** @endcond */ +# /** @deprecated Just use `long long` directly. */ +# define LONG_LONG long long. + +#elif RBIMPL_HAS_WARNING("-Wc++11-long-long") # define HAVE_TRUE_LONG_LONG 1 # define LONG_LONG \ RBIMPL_WARNING_PUSH() \ |