Ruby: include/ruby/internal/intern/ruby.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

ruby.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_RUBY_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_RUBY_H
23#include "ruby/internal/dllexport.h"
24#include "ruby/internal/value.h"
25
26 RBIMPL_SYMBOL_EXPORT_BEGIN()
27
28/* ruby.c */
29#define rb_argv rb_get_argv()
30 RUBY_EXTERN VALUE rb_argv0;
31 VALUE rb_get_argv(void);
32void *rb_load_file(const char*);
33void *rb_load_file_str(VALUE);
34
35 RBIMPL_SYMBOL_EXPORT_END()
36
37#endif /* RBIMPL_INTERN_RUBY_H */
dllexport.h
Tewaking visibility of C variables/functions.
RUBY_EXTERN
#define RUBY_EXTERN
Definition: dllexport.h:36
RBIMPL_SYMBOL_EXPORT_END
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
RBIMPL_SYMBOL_EXPORT_BEGIN
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
rb_argv0
VALUE rb_argv0
Definition: ruby.c:1552
rb_get_argv
VALUE rb_get_argv(void)
Definition: io.c:13082
rb_load_file
void * rb_load_file(const char *)
Definition: ruby.c:2361
rb_load_file_str
void * rb_load_file_str(VALUE)
Definition: ruby.c:2368
value.h
Defines VALUE and ID.
VALUE
unsigned long VALUE
Definition: value.h:38