Skip to content

Commit

Permalink
include/ruby/backward/2/long_long.h: add doxygen
Browse files Browse the repository at this point in the history
Might want to delete LONG_LONG macro but for the time being let us
describe what on earth it is. [ci skip]
  • Loading branch information
shyouhei committed Sep 10, 2021
1 parent f05dc8b commit 7ead690
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion include/ruby/backward/2/long_long.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() \
Expand Down

0 comments on commit 7ead690

Please sign in to comment.