Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/alt/ruby31/include/ruby
File: defines.h
#ifndef RUBY_DEFINES_H /*-*-C++-*-vi:se ft=cpp:*/
[0] Fix | Delete
#define RUBY_DEFINES_H 1
[1] Fix | Delete
/**
[2] Fix | Delete
* @file
[3] Fix | Delete
* @author $Author$
[4] Fix | Delete
* @date Wed May 18 00:21:44 JST 1994
[5] Fix | Delete
* @copyright This file is a part of the programming language Ruby.
[6] Fix | Delete
* Permission is hereby granted, to either redistribute and/or
[7] Fix | Delete
* modify this file, provided that the conditions mentioned in the
[8] Fix | Delete
* file COPYING are met. Consult the file for details.
[9] Fix | Delete
*/
[10] Fix | Delete
[11] Fix | Delete
#include "ruby/internal/config.h"
[12] Fix | Delete
[13] Fix | Delete
/* AC_INCLUDES_DEFAULT */
[14] Fix | Delete
#include <stdio.h>
[15] Fix | Delete
[16] Fix | Delete
#ifdef HAVE_SYS_TYPES_H
[17] Fix | Delete
# include <sys/types.h>
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
#ifdef HAVE_SYS_STAT_H
[21] Fix | Delete
# include <sys/stat.h>
[22] Fix | Delete
#endif
[23] Fix | Delete
[24] Fix | Delete
#ifdef STDC_HEADERS
[25] Fix | Delete
# include <stdlib.h>
[26] Fix | Delete
# include <stddef.h>
[27] Fix | Delete
#else
[28] Fix | Delete
# ifdef HAVE_STDLIB_H
[29] Fix | Delete
# include <stdlib.h>
[30] Fix | Delete
# endif
[31] Fix | Delete
#endif
[32] Fix | Delete
[33] Fix | Delete
#ifdef HAVE_STRING_H
[34] Fix | Delete
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
[35] Fix | Delete
# include <memory.h>
[36] Fix | Delete
# endif
[37] Fix | Delete
# include <string.h>
[38] Fix | Delete
#endif
[39] Fix | Delete
[40] Fix | Delete
#ifdef HAVE_STRINGS_H
[41] Fix | Delete
# include <strings.h>
[42] Fix | Delete
#endif
[43] Fix | Delete
[44] Fix | Delete
#ifdef HAVE_INTTYPES_H
[45] Fix | Delete
# include <inttypes.h>
[46] Fix | Delete
#endif
[47] Fix | Delete
[48] Fix | Delete
#ifdef HAVE_STDINT_H
[49] Fix | Delete
# include <stdint.h>
[50] Fix | Delete
#endif
[51] Fix | Delete
[52] Fix | Delete
#ifdef HAVE_STDALIGN_H
[53] Fix | Delete
# include <stdalign.h>
[54] Fix | Delete
#endif
[55] Fix | Delete
[56] Fix | Delete
#ifdef HAVE_UNISTD_H
[57] Fix | Delete
# include <unistd.h>
[58] Fix | Delete
#endif
[59] Fix | Delete
[60] Fix | Delete
#ifdef HAVE_SYS_SELECT_H
[61] Fix | Delete
# include <sys/select.h>
[62] Fix | Delete
#endif
[63] Fix | Delete
[64] Fix | Delete
#ifdef RUBY_USE_SETJMPEX
[65] Fix | Delete
# include <setjmpex.h>
[66] Fix | Delete
#endif
[67] Fix | Delete
[68] Fix | Delete
#include "ruby/internal/dllexport.h"
[69] Fix | Delete
#include "ruby/internal/xmalloc.h"
[70] Fix | Delete
#include "ruby/backward/2/assume.h"
[71] Fix | Delete
#include "ruby/backward/2/attributes.h"
[72] Fix | Delete
#include "ruby/backward/2/bool.h"
[73] Fix | Delete
#include "ruby/backward/2/long_long.h"
[74] Fix | Delete
#include "ruby/backward/2/stdalign.h"
[75] Fix | Delete
#include "ruby/backward/2/stdarg.h"
[76] Fix | Delete
#include "ruby/internal/dosish.h"
[77] Fix | Delete
#include "ruby/missing.h"
[78] Fix | Delete
[79] Fix | Delete
/**
[80] Fix | Delete
* Asserts that the compilation unit includes Ruby's CAPI. This has been here
[81] Fix | Delete
* since the very beginning (at least since version 0.49).
[82] Fix | Delete
*/
[83] Fix | Delete
#define RUBY
[84] Fix | Delete
[85] Fix | Delete
#ifdef __GNUC__
[86] Fix | Delete
# /** This is expanded to nothing for non-GCC compilers. */
[87] Fix | Delete
# define RB_GNUC_EXTENSION __extension__
[88] Fix | Delete
# /** This is expanded to the passed token for non-GCC compilers. */
[89] Fix | Delete
# define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
[90] Fix | Delete
#else
[91] Fix | Delete
# define RB_GNUC_EXTENSION
[92] Fix | Delete
# define RB_GNUC_EXTENSION_BLOCK(x) (x)
[93] Fix | Delete
#endif
[94] Fix | Delete
[95] Fix | Delete
/** @cond INTERNAL_MACRO */
[96] Fix | Delete
[97] Fix | Delete
/* :FIXME: Can someone tell us why is this macro defined here? @shyouhei
[98] Fix | Delete
* thinks this is a truly internal macro but cannot move around because he
[99] Fix | Delete
* doesn't understand the reason of this arrangement. */
[100] Fix | Delete
#ifndef RUBY_MBCHAR_MAXSIZE
[101] Fix | Delete
# define RUBY_MBCHAR_MAXSIZE INT_MAX
[102] Fix | Delete
# /* MB_CUR_MAX will not work well in C locale */
[103] Fix | Delete
#endif
[104] Fix | Delete
[105] Fix | Delete
#if defined(__sparc)
[106] Fix | Delete
RBIMPL_SYMBOL_EXPORT_BEGIN()
[107] Fix | Delete
void rb_sparc_flush_register_windows(void);
[108] Fix | Delete
RBIMPL_SYMBOL_EXPORT_END()
[109] Fix | Delete
# define FLUSH_REGISTER_WINDOWS rb_sparc_flush_register_windows()
[110] Fix | Delete
#else
[111] Fix | Delete
# define FLUSH_REGISTER_WINDOWS ((void)0)
[112] Fix | Delete
#endif
[113] Fix | Delete
/** @endcond */
[114] Fix | Delete
#endif /* RUBY_DEFINES_H */
[115] Fix | Delete
[116] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function