mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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]
This commit is contained in:
parent
f05dc8b44a
commit
7ead69068e
Notes:
git
2021-09-10 20:01:16 +09:00
1 changed files with 9 additions and 1 deletions
|
@ -29,7 +29,15 @@
|
||||||
#include "ruby/internal/has/warning.h"
|
#include "ruby/internal/has/warning.h"
|
||||||
#include "ruby/internal/warning_push.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 HAVE_TRUE_LONG_LONG 1
|
||||||
# define LONG_LONG \
|
# define LONG_LONG \
|
||||||
RBIMPL_WARNING_PUSH() \
|
RBIMPL_WARNING_PUSH() \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue