/src/ruby/pathname_builtin.rbinc
Line | Count | Source |
1 | | // -*- c -*- |
2 | | // DO NOT MODIFY THIS FILE DIRECTLY. |
3 | | // auto-generated file |
4 | | // by ./tool/mk_builtin_loader.rb |
5 | | // with pathname_builtin.rb |
6 | | #include "internal/compilers.h" /* for MAYBE_UNUSED */ |
7 | | #include "internal/warnings.h" /* for COMPILER_WARNING_PUSH */ |
8 | | #include "ruby/ruby.h" /* for VALUE */ |
9 | | #include "builtin.h" /* for RB_BUILTIN_FUNCTION */ |
10 | | struct rb_execution_context_struct; /* in vm_core.h */ |
11 | | |
12 | | void Init_builtin_pathname_builtin(void) |
13 | 0 | { |
14 | | // table definition |
15 | 0 | static const struct rb_builtin_function pathname_builtin_table[] = { |
16 | 0 | RB_BUILTIN_FUNCTION(-1, NULL, NULL, 0), |
17 | 0 | }; |
18 | | |
19 | | // arity_check |
20 | 0 | COMPILER_WARNING_PUSH |
21 | 0 | #if GCC_VERSION_SINCE(5, 1, 0) || defined __clang__ |
22 | 0 | COMPILER_WARNING_ERROR(-Wincompatible-pointer-types) |
23 | 0 | #endif |
24 | 0 | COMPILER_WARNING_POP |
25 | | |
26 | | // load |
27 | 0 | rb_load_with_builtin_functions("pathname_builtin", pathname_builtin_table); |
28 | 0 | } |