aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ruby_missing.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-04-28 14:13:21 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-04-28 14:25:20 +0900
commit19cc58d3cb864d582ff400cb7567ac65c6fff849 (patch)
treed71b4463a33ccdae57c7aa9c85d00133b10d4f39 /ext/openssl/ruby_missing.h
parentc9225b0cbc5d6ce48e7d6172e2010f02b90e22c9 (diff)
downloadruby-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.h3
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