1 #ifndef RUBY_INTERNAL_ENCODING_RE_H
2 #define RUBY_INTERNAL_ENCODING_RE_H
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_enc_reg_new(const char *ptr, long len, rb_encoding *enc, int opts)
Identical to rb_reg_new(), except it additionally takes an encoding.
char * ptr
Pointer to the underlying memory region, of at least capa bytes.
int len
Length of the buffer.
uintptr_t VALUE
Type that represents a Ruby object.