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);
98VALUE rb_ary_new_from_args(
long n, ...);
107VALUE rb_ary_new_from_values(
long n, const
VALUE *elts);
117#define rb_ary_tmp_new rb_ary_hidden_new
225void rb_ary_store(
VALUE ary,
long key,
VALUE val);
651#define rb_ary_new2 rb_ary_new_capa
652#define rb_ary_new3 rb_ary_new_from_args
653#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" {.
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_freeze(VALUE obj)
Just another name of rb_obj_freeze.
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.