diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-04-28 14:13:21 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-04-28 14:25:20 +0900 |
commit | 19cc58d3cb864d582ff400cb7567ac65c6fff849 (patch) | |
tree | d71b4463a33ccdae57c7aa9c85d00133b10d4f39 /ext/openssl/ruby_missing.h | |
parent | c9225b0cbc5d6ce48e7d6172e2010f02b90e22c9 (diff) | |
download | ruby-openssl-19cc58d3cb864d582ff400cb7567ac65c6fff849.tar.gz |
Expand rb_define_copy_func() macro
It's not really "missing". Let's expand that, as it does not improve the
readability so much.
Diffstat (limited to 'ext/openssl/ruby_missing.h')
-rw-r--r-- | ext/openssl/ruby_missing.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/openssl/ruby_missing.h b/ext/openssl/ruby_missing.h index 8dacc826..dfd9db37 100644 --- a/ext/openssl/ruby_missing.h +++ b/ext/openssl/ruby_missing.h @@ -10,9 +10,6 @@ #if !defined(_OSSL_RUBY_MISSING_H_) #define _OSSL_RUBY_MISSING_H_ -#define rb_define_copy_func(klass, func) \ - rb_define_method((klass), "initialize_copy", (func), 1) - #define FPTR_TO_FD(fptr) ((fptr)->fd) #ifndef RB_INTEGER_TYPE_P |