Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
struct.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_STRUCT_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_STRUCT_H
24#include "ruby/internal/intern/vm.h" /* rb_alloc_func_t */
25#include "ruby/internal/value.h"
26
28
29/* struct.c */
31VALUE rb_struct_define(const char*, ...);
43VALUE rb_struct_define_without_accessor_under(VALUE outer, const char *class_name, VALUE super, rb_alloc_func_t alloc, ...);
44
46
47#endif /* RBIMPL_INTERN_STRUCT_H */
Tewaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
VALUE rb_struct_alloc_noinit(VALUE)
Definition: struct.c:381
VALUE rb_struct_define_without_accessor_under(VALUE outer, const char *class_name, VALUE super, rb_alloc_func_t alloc,...)
Definition: struct.c:438
VALUE rb_struct_s_members(VALUE)
Definition: struct.c:66
VALUE rb_struct_size(VALUE s)
Definition: struct.c:1326
VALUE rb_struct_define_without_accessor(const char *, VALUE, rb_alloc_func_t,...)
Definition: struct.c:451
VALUE rb_struct_members(VALUE)
Definition: struct.c:80
VALUE rb_struct_aref(VALUE, VALUE)
Definition: struct.c:1096
VALUE rb_struct_initialize(VALUE, VALUE)
Definition: struct.c:693
VALUE rb_struct_aset(VALUE, VALUE, VALUE)
Definition: struct.c:1123
VALUE rb_struct_define(const char *,...)
Definition: struct.c:464
VALUE rb_struct_alloc(VALUE, VALUE)
Definition: struct.c:760
VALUE rb_struct_getmember(VALUE, ID)
Definition: struct.c:219
VALUE rb_struct_define_under(VALUE, const char *,...)
Definition: struct.c:479
VALUE rb_struct_new(VALUE,...)
Definition: struct.c:766
Public APIs related to rb_cRubyVM.
VALUE(* rb_alloc_func_t)(VALUE)
Definition: vm.h:50
#define const
Definition: strftime.c:108
Defines VALUE and ID.
unsigned long VALUE
Definition: value.h:38
unsigned long ID
Definition: value.h:39