diff options
author | 卜部昌平 <[email protected]> | 2020-04-08 13:28:13 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-08 13:28:13 +0900 |
commit | 9e6e39c3512f7a962c44dc3729c98a0f8be90341 (patch) | |
tree | 901a22676d54d78240e450b64a8cd06eb1703910 /internal/bits.h | |
parent | 5ac4bf2cd87e1eb5779ca5ae7f96a1a22e8436d9 (diff) |
Merge pull request #2991 from shyouhei/ruby.h
Split ruby.h
Notes
Notes:
Merged-By: shyouhei <[email protected]>
Diffstat (limited to 'internal/bits.h')
-rw-r--r-- | internal/bits.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/bits.h b/internal/bits.h index 410c2b9a97..32ec1cd36c 100644 --- a/internal/bits.h +++ b/internal/bits.h @@ -1,13 +1,11 @@ -#ifndef INTERNAL_BITS_H /* -*- C -*- */ -#define INTERNAL_BITS_H -/** +/** \noop-*-C-*-vi:ft=c * @file - * @brief Internal header for bitwise integer algorithms. - * @author \@shyouhei + * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. + * @brief Internal header for bitwise integer algorithms. * @see Henry S. Warren Jr., "Hacker's Delight" (2nd ed.), 2013. * @see SEI CERT C Coding Standard INT32-C. "Ensure that operations on * signed integers do not result in overflow" @@ -26,7 +24,9 @@ * @see https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_rotr64 * @see https://stackoverflow.com/a/776523 */ -#include "ruby/config.h" +#ifndef INTERNAL_BITS_H +#define INTERNAL_BITS_H +#include "ruby/3/config.h" #include <limits.h> /* for CHAR_BITS */ #include <stdint.h> /* for uintptr_t */ #include "internal/compilers.h" /* for MSC_VERSION_SINCE */ |