Ruby
3.5.0dev (2025-02-22 revision 412997300569c1853c09813e4924b6df3d7e8669)
include
ruby
internal
encoding
re.h
Go to the documentation of this file.
1
#ifndef RUBY_INTERNAL_ENCODING_RE_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RUBY_INTERNAL_ENCODING_RE_H
24
#include "
ruby/internal/dllexport.h
"
25
#include "
ruby/internal/encoding/encoding.h
"
26
#include "
ruby/internal/value.h
"
27
28
RBIMPL_SYMBOL_EXPORT_BEGIN
()
29
30
42
VALUE
rb_enc_reg_new
(const
char
*ptr,
long
len
,
rb_encoding
*enc,
int
opts);
43
44
RBIMPL_SYMBOL_EXPORT_END
()
45
46
#endif
/* RUBY_INTERNAL_ENCODING_RE_H */
dllexport.h
Tweaking visibility of C variables/functions.
RBIMPL_SYMBOL_EXPORT_END
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition
dllexport.h:74
RBIMPL_SYMBOL_EXPORT_BEGIN
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition
dllexport.h:65
encoding.h
Defines rb_encoding.
rb_enc_reg_new
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.
Definition
re.c:3442
len
int len
Length of the buffer.
Definition
io.h:8
OnigEncodingTypeST
Definition
onigmo.h:160
value.h
Defines VALUE and ID.
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition
value.h:40
Generated by
1.9.8