#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 | NORETURN_STYLE_NEW 1 |
| |
| #define | NORETURN(x) x |
| |
| #define | DEPRECATED(x) x |
| |
| #define | DEPRECATED_BY(n, x) DEPRECATED(x) |
| |
| #define | DEPRECATED_TYPE(mesg, decl) decl |
| |
| #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 | RB_LIKELY(x) (x) |
| |
| #define | RB_UNLIKELY(x) (x) |
| |
| #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 | STRINGIZE(expr) STRINGIZE0(expr) |
| |
| #define | STRINGIZE0(expr) #expr |
| |
| #define | RUBY_FUNC_EXPORTED |
| |
| #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 | UNALIGNED_WORD_ACCESS 0 |
| |
| #define | PACKED_STRUCT(x) x |
| |
| #define | PACKED_STRUCT_UNALIGNED(x) x |
| |
◆ __
◆ ALWAYS_INLINE
| #define ALWAYS_INLINE |
( |
|
x | ) |
x |
◆ ANYARGS
◆ CASEFOLD_FILESYSTEM
| #define CASEFOLD_FILESYSTEM 0 |
◆ 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
| #define EXTERN <-<-"EXTERN is deprecated, use RUBY_EXTERN instead"->-> |
◆ 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_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 |
◆ 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
◆ RUBY_ALIAS_FUNCTION_VOID
◆ RUBY_ATTR_ALLOC_SIZE
| #define RUBY_ATTR_ALLOC_SIZE |
( |
|
params | ) |
|
◆ RUBY_FUNC_EXPORTED
| #define RUBY_FUNC_EXPORTED |
◆ 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 |
◆ WARNINGFUNC
| #define WARNINGFUNC |
( |
|
mesg, |
|
|
|
x |
|
) |
| x |
◆ xcalloc
◆ xfree
◆ xmalloc
Definition at line 183 of file defines.h.
Referenced by onig_add_end_call(), onig_bbuf_init(), onig_new(), onig_region_new(), onig_region_resize(), onigenc_with_ascii_strnicmp(), rb_econv_set_replacement(), rb_parser_malloc(), ruby_getcwd(), ruby_strdup(), and VpMemAlloc().
◆ xmalloc2
◆ xrealloc
◆ xrealloc2
◆ xcalloc()
| void void* xcalloc |
( |
size_t |
, |
|
|
size_t |
|
|
) |
| |
◆ xfree()
| void void xfree |
( |
void * |
| ) |
|
Referenced by onig_free(), onig_free_body(), onig_node_free(), onig_node_str_clear(), onig_region_free(), onig_region_resize(), rb_alias_variable(), rb_class_remove_from_module_subclasses(), rb_class_remove_from_super_subclasses(), rb_dir_getwd_ospath(), rb_econv_close(), rb_free_generic_ivar(), rb_freeaddrinfo(), rb_gc_free_node(), rb_gc_unregister_address(), rb_id_table_free(), rb_obj_copy_ivar(), rb_objspace_free(), rb_parser_free(), ruby_getcwd(), and VpFree().
◆ xmalloc()
◆ xmalloc2()
| void* xmalloc2 |
( |
size_t |
, |
|
|
size_t |
|
|
) |
| |
◆ xrealloc()
| void void void* xrealloc |
( |
void * |
, |
|
|
size_t |
|
|
) |
| |
◆ xrealloc2()
| void* xrealloc2 |
( |
void * |
, |
|
|
size_t |
, |
|
|
size_t |
|
|
) |
| |