1#ifndef RBIMPL_INTERN_ARRAY_H
2#define RBIMPL_INTERN_ARRAY_H
43void rb_mem_clear(
VALUE *buf,
long len)
77VALUE rb_ary_new(
void);
117#define rb_ary_tmp_new rb_ary_hidden_new
231void rb_ary_store(
VALUE ary,
long key,
VALUE val);
657#define rb_ary_new2 rb_ary_new_capa
658#define rb_ary_new3 rb_ary_new_from_args
659#define rb_ary_new4 rb_ary_new_from_values
Tweaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
VALUE rb_ary_new_from_values(long n, const VALUE *elts)
Identical to rb_ary_new_from_args(), except how objects are passed.
void rb_ary_free(VALUE ary)
Destroys the given array for no reason.
void rb_ary_modify(VALUE ary)
Declares that the array is about to be modified.
VALUE rb_ary_new_capa(long capa)
Identical to rb_ary_new(), except it additionally specifies how many rooms of objects it should alloc...
VALUE rb_ary_freeze(VALUE obj)
Freeze an array, preventing further modifications.
VALUE rb_ary_new_from_args(long n,...)
Constructs an array from the passed objects.
int capa
Designed capacity of the buffer.
int off
Offset inside of ptr.
int len
Length of the buffer.
Defines RBIMPL_ATTR_NOALIAS.
#define RBIMPL_ATTR_NOALIAS()
Wraps (or simulates) __declspec((noalias))
Defines RBIMPL_ATTR_NOEXCEPT.
#define RBIMPL_ATTR_NOEXCEPT(_)
Wraps (or simulates) C++11 noexcept
Defines RBIMPL_ATTR_NONNULL.
#define RBIMPL_ATTR_NONNULL(list)
Wraps (or simulates) __attribute__((nonnull))
Defines RBIMPL_ATTR_PURE.
#define RBIMPL_ATTR_PURE()
Wraps (or simulates) __attribute__((pure))
uintptr_t VALUE
Type that represents a Ruby object.