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

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

glob.h
Go to the documentation of this file.
1#ifndef RBIMPL_GLOB_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_GLOB_H
23#include "ruby/internal/dllexport.h"
24#include "ruby/internal/value.h"
25
26 RBIMPL_SYMBOL_EXPORT_BEGIN()
27
28typedef int ruby_glob_func(const char*,VALUE, void*);
29void rb_glob(const char*,void(*)(const char*,VALUE,void*),VALUE);
30int ruby_glob(const char*,int,ruby_glob_func*,VALUE);
31int ruby_brace_glob(const char*,int,ruby_glob_func*,VALUE);
32
33 RBIMPL_SYMBOL_EXPORT_END()
34
35#endif /* RBIMPL_GLOB_H */
dllexport.h
Tewaking visibility of C variables/functions.
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_glob
void rb_glob(const char *, void(*)(const char *, VALUE, void *), VALUE)
Definition: dir.c:2711
ruby_brace_glob
int ruby_brace_glob(const char *, int, ruby_glob_func *, VALUE)
Definition: dir.c:2826
ruby_glob
int ruby_glob(const char *, int, ruby_glob_func *, VALUE)
Definition: dir.c:2686
ruby_glob_func
int ruby_glob_func(const char *, VALUE, void *)
Definition: glob.h:28
const
#define const
Definition: strftime.c:108
value.h
Defines VALUE and ID.
VALUE
unsigned long VALUE
Definition: value.h:38