ruby_missing.h File Reference

Go to the source code of this file.

## Macros

#define | rb_define_copy_func(klass, func) rb_define_method((klass), "initialize_copy", (func), 1)
#define | FPTR_TO_FD(fptr) ((fptr)->fd)
#define | rb_io_t OpenFile
#define | rb_str_set_len(str, length)
#define | rb_block_call(arg1, arg2, arg3, arg4, arg5, arg6) rb_iterate(rb_each, (arg1), (arg5), (arg6))

## Macro Definition Documentation

#define FPTR_TO_FD | ( |  | fptr | ) | ((fptr)->fd)

Definition at line 19 of file ruby_missing.h.

Referenced by ossl_obj2bio(), ossl_ssl_read_internal(), ossl_ssl_setup(), ossl_ssl_write_internal(), and ossl_start_ssl().

#define rb_block_call | ( |  | arg1,
|  |  | arg2,
|  |  | arg3,
|  |  | arg4,
|  |  | arg5,
|  |  | arg6
| ) |  | rb_iterate(rb_each, (arg1), (arg5), (arg6))

Definition at line 38 of file ruby_missing.h.

Referenced by argf_each_byte(), argf_each_char(), argf_each_line(), bug_start(), chunk_i(), enum_all(), enum_any(), enum_chunk(), enum_collect(), enum_count(), enum_cycle(), enum_drop(), enum_drop_while(), enum_each_cons(), enum_each_entry(), enum_each_slice(), enum_each_with_index(), enum_each_with_object(), enum_find(), enum_find_all(), enum_find_index(), enum_first(), enum_flat_map(), enum_grep(), enum_group_by(), enum_inject(), enum_max(), enum_max_by(), enum_member(), enum_min(), enum_min_by(), enum_minmax(), enum_minmax_by(), enum_none(), enum_one(), enum_partition(), enum_reject(), enum_slice_before(), enum_sort_by(), enum_take(), enum_take_while(), enum_to_a(), enum_zip(), enumerator_block_call(), fdbm_replace(), fdbm_update(), fgdbm_replace(), fgdbm_update(), fsdbm_replace(), fsdbm_update(), get_iconv_opt(), join_der(), next_i(), ole_invoke(), ossl_pkcs7_set_certificates(), ossl_pkcs7_set_crls(), ossl_sslctx_setup(), ossl_x509name_initialize(), path_each_entry(), path_each_line(), path_open(), path_opendir(), path_s_glob(), path_sub(), range_each(), range_first(), range_step(), rb_ary_sort_by_bang(), save_env(), slicebefore_i(), syck_resolver_node_import(), syck_resolver_transfer(), take_items(), and yaml_org_handler().

#define rb_define_copy_func | ( |  | klass,
|  |  | func
| ) |  | rb_define_method((klass), "initialize_copy", (func), 1)

Definition at line 14 of file ruby_missing.h.

Referenced by Init_ossl_bn(), Init_ossl_cipher(), Init_ossl_digest(), Init_ossl_hmac(), Init_ossl_pkcs7(), Init_ossl_x509cert(), Init_ossl_x509crl(), and Init_ossl_x509req().

#define rb_io_t OpenFile

Definition at line 25 of file ruby_missing.h.

Referenced by rb_io_memsize().

#define rb_str_set_len | ( |  | str,
|  |  | length
| ) |  |

Value:
do { \
RSTRING(str)->ptr[(length)] = 0; \
RSTRING(str)->len = (length); \
} while(0)

Definition at line 30 of file ruby_missing.h.

Referenced by appendline(), bug_str_set_len(), econv_primitive_convert(), file_expand_path(), iconv_create(), io_setstrbuf(), ossl_cipher_final(), ossl_cipher_update(), ossl_dh_compute_key(), ossl_dsa_sign(), ossl_pkey_sign(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_ssl_read_internal(), ossl_x509attr_to_der(), pack_pack(), pack_unpack(), r_object0(), rb_econv_substr_append(), rb_file_join(), rb_find_file_ext_safe(), rb_io_sysread(), rb_nkf_convert(), rb_realpath_internal(), rb_str_format(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), RUBY_ALIAS_FUNCTION(), and str_transcode0().