#include "ruby/config.h"
#include <stdio.h>
#include "ruby/missing.h"
Go to the source code of this file.
|
| #define | CONSTFUNC(x) x |
| |
| #define | PUREFUNC(x) x |
| |
| #define | DEPRECATED(x) x |
| |
| #define | DEPRECATED_BY(n, x) DEPRECATED(x) |
| |
| #define | DEPRECATED_TYPE(mesg, decl) decl |
| |
| #define | RUBY_CXX_DEPRECATED(mesg) /* nothing */ |
| |
| #define | NOINLINE(x) x |
| |
| #define | ALWAYS_INLINE(x) x |
| |
| #define | HAVE_ATTRIBUTE_ERRORFUNC 0 |
| |
| #define | ERRORFUNC(mesg, x) x |
| |
| #define | HAVE_ATTRIBUTE_WARNINGFUNC 0 |
| |
| #define | WARNINGFUNC(mesg, x) x |
| |
| #define | GCC_VERSION_SINCE(major, minor, patchlevel) 0 |
| |
| #define | GCC_VERSION_BEFORE(major, minor, patchlevel) 0 |
| |
| #define | RB_LIKELY(x) (x) |
| |
| #define | RB_UNLIKELY(x) (x) |
| |
| #define | COLDFUNC |
| |
| #define | PRINTF_ARGS(decl, string_index, first_to_check) decl |
| |
| #define | RB_GNUC_EXTENSION |
| |
| #define | RB_GNUC_EXTENSION_BLOCK(x) (x) |
| |
| #define | RUBY |
| |
| #define | _(args) () |
| |
| #define | __(args) () |
| |
| #define | ANYARGS |
| |
| #define | xmalloc ruby_xmalloc |
| |
| #define | xmalloc2 ruby_xmalloc2 |
| |
| #define | xcalloc ruby_xcalloc |
| |
| #define | xrealloc ruby_xrealloc |
| |
| #define | xrealloc2 ruby_xrealloc2 |
| |
| #define | xfree ruby_xfree |
| |
| #define | RUBY_ATTR_ALLOC_SIZE(params) |
| |
| #define | RUBY_ATTR_MALLOC |
| |
| #define | RUBY_ATTR_RETURNS_NONNULL |
| |
| #define | USE_GC_MALLOC_OBJ_INFO_DETAILS 0 |
| |
| #define | STRINGIZE(expr) STRINGIZE0(expr) |
| |
| #define | STRINGIZE0(expr) #expr |
| |
| #define | RUBY_FUNC_EXPORTED |
| |
| #define | MJIT_FUNC_EXPORTED RUBY_FUNC_EXPORTED |
| |
| #define | MJIT_SYMBOL_EXPORT_BEGIN RUBY_SYMBOL_EXPORT_BEGIN |
| |
| #define | MJIT_SYMBOL_EXPORT_END RUBY_SYMBOL_EXPORT_END |
| |
| #define | EXTERN <-<-"EXTERN is deprecated, use RUBY_EXTERN instead"->-> |
| |
| #define | RUBY_MBCHAR_MAXSIZE INT_MAX |
| |
| #define | FLUSH_REGISTER_WINDOWS ((void)0) |
| |
| #define | PATH_SEP ":" |
| |
| #define | PATH_SEP_CHAR PATH_SEP[0] |
| |
| #define | PATH_ENV "PATH" |
| |
| #define | CASEFOLD_FILESYSTEM 0 |
| |
| #define | DLEXT_MAXLEN 4 |
| |
| #define | RUBY_PLATFORM "unknown-unknown" |
| |
| #define | FUNC_MINIMIZED(x) x |
| |
| #define | FUNC_UNOPTIMIZED(x) x |
| |
| #define | RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) FUNC_MINIMIZED(type prot) {return (type)name args;} |
| |
| #define | RUBY_ALIAS_FUNCTION_VOID(prot, name, args) FUNC_MINIMIZED(void prot) {name args;} |
| |
| #define | RUBY_ALIAS_FUNCTION(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(VALUE, prot, name, args) |
| |
| #define | RUBY_FUNC_NONNULL(n, x) x |
| |
| #define | UNALIGNED_WORD_ACCESS 0 |
| |
| #define | PACKED_STRUCT(x) x |
| |
| #define | PACKED_STRUCT_UNALIGNED(x) x |
| |
| #define | RUBY_ALIGNAS(x) /* x */ |
| |
| #define | RUBY_ALIGNOF(type) ((size_t)offsetof(struct { char f1; type f2; }, f2)) |
| |
| #define | NORETURN_STYLE_NEW 1 |
| |
| #define | NORETURN(x) x |
| |
◆ __
◆ ALWAYS_INLINE
| #define ALWAYS_INLINE |
( |
|
x | ) |
x |
◆ ANYARGS
◆ CASEFOLD_FILESYSTEM
| #define CASEFOLD_FILESYSTEM 0 |
◆ COLDFUNC
◆ CONSTFUNC
| #define CONSTFUNC |
( |
|
x | ) |
x |
◆ DEPRECATED
| #define DEPRECATED |
( |
|
x | ) |
x |
◆ DEPRECATED_BY
◆ DEPRECATED_TYPE
| #define DEPRECATED_TYPE |
( |
|
mesg, |
|
|
|
decl |
|
) |
| decl |
◆ DLEXT_MAXLEN
◆ ERRORFUNC
| #define ERRORFUNC |
( |
|
mesg, |
|
|
|
x |
|
) |
| x |
◆ EXTERN
◆ FLUSH_REGISTER_WINDOWS
| #define FLUSH_REGISTER_WINDOWS ((void)0) |
◆ FUNC_MINIMIZED
| #define FUNC_MINIMIZED |
( |
|
x | ) |
x |
◆ FUNC_UNOPTIMIZED
| #define FUNC_UNOPTIMIZED |
( |
|
x | ) |
x |
◆ GCC_VERSION_BEFORE
| #define GCC_VERSION_BEFORE |
( |
|
major, |
|
|
|
minor, |
|
|
|
patchlevel |
|
) |
| 0 |
◆ GCC_VERSION_SINCE
| #define GCC_VERSION_SINCE |
( |
|
major, |
|
|
|
minor, |
|
|
|
patchlevel |
|
) |
| 0 |
◆ HAVE_ATTRIBUTE_ERRORFUNC
| #define HAVE_ATTRIBUTE_ERRORFUNC 0 |
◆ HAVE_ATTRIBUTE_WARNINGFUNC
| #define HAVE_ATTRIBUTE_WARNINGFUNC 0 |
◆ MJIT_FUNC_EXPORTED
◆ MJIT_SYMBOL_EXPORT_BEGIN
◆ MJIT_SYMBOL_EXPORT_END
◆ NOINLINE
◆ NORETURN
◆ NORETURN_STYLE_NEW
| #define NORETURN_STYLE_NEW 1 |
◆ PACKED_STRUCT
| #define PACKED_STRUCT |
( |
|
x | ) |
x |
◆ PACKED_STRUCT_UNALIGNED
| #define PACKED_STRUCT_UNALIGNED |
( |
|
x | ) |
x |
◆ PATH_ENV
◆ PATH_SEP
◆ PATH_SEP_CHAR
◆ PRINTF_ARGS
| #define PRINTF_ARGS |
( |
|
decl , |
|
|
|
string_index, |
|
|
|
first_to_check |
|
) |
| decl |
◆ PUREFUNC
◆ RB_GNUC_EXTENSION
| #define RB_GNUC_EXTENSION |
◆ RB_GNUC_EXTENSION_BLOCK
| #define RB_GNUC_EXTENSION_BLOCK |
( |
|
x | ) |
(x) |
◆ RB_LIKELY
| #define RB_LIKELY |
( |
|
x | ) |
(x) |
◆ RB_UNLIKELY
| #define RB_UNLIKELY |
( |
|
x | ) |
(x) |
◆ RUBY
◆ RUBY_ALIAS_FUNCTION
◆ RUBY_ALIAS_FUNCTION_TYPE
| #define RUBY_ALIAS_FUNCTION_TYPE |
( |
|
type, |
|
|
|
prot, |
|
|
|
name, |
|
|
|
args |
|
) |
| FUNC_MINIMIZED(type prot) {return (type)name args;} |
◆ RUBY_ALIAS_FUNCTION_VOID
◆ RUBY_ALIGNAS
| #define RUBY_ALIGNAS |
( |
|
x | ) |
/* x */ |
◆ RUBY_ALIGNOF
◆ RUBY_ATTR_ALLOC_SIZE
| #define RUBY_ATTR_ALLOC_SIZE |
( |
|
params | ) |
|
◆ RUBY_ATTR_MALLOC
◆ RUBY_ATTR_RETURNS_NONNULL
| #define RUBY_ATTR_RETURNS_NONNULL |
◆ RUBY_CXX_DEPRECATED
| #define RUBY_CXX_DEPRECATED |
( |
|
mesg | ) |
/* nothing */ |
◆ RUBY_FUNC_EXPORTED
| #define RUBY_FUNC_EXPORTED |
◆ RUBY_FUNC_NONNULL
| #define RUBY_FUNC_NONNULL |
( |
|
n, |
|
|
|
x |
|
) |
| x |
◆ RUBY_MBCHAR_MAXSIZE
| #define RUBY_MBCHAR_MAXSIZE INT_MAX |
◆ RUBY_PLATFORM
| #define RUBY_PLATFORM "unknown-unknown" |
◆ STRINGIZE
◆ STRINGIZE0
| #define STRINGIZE0 |
( |
|
expr | ) |
#expr |
◆ UNALIGNED_WORD_ACCESS
| #define UNALIGNED_WORD_ACCESS 0 |
◆ USE_GC_MALLOC_OBJ_INFO_DETAILS
| #define USE_GC_MALLOC_OBJ_INFO_DETAILS 0 |
◆ WARNINGFUNC
| #define WARNINGFUNC |
( |
|
mesg, |
|
|
|
x |
|
) |
| x |
◆ xcalloc
◆ xfree
◆ xmalloc
◆ xmalloc2
◆ xrealloc
◆ xrealloc2
◆ ruby_xcalloc()
◆ ruby_xfree()
◆ ruby_xmalloc()
◆ ruby_xmalloc2()
◆ ruby_xrealloc()
◆ ruby_xrealloc2()