summaryrefslogtreecommitdiff
path: root/ruby_1_8_5/ext/openssl/ruby_missing.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_5/ext/openssl/ruby_missing.h')
-rw-r--r--ruby_1_8_5/ext/openssl/ruby_missing.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ruby_1_8_5/ext/openssl/ruby_missing.h b/ruby_1_8_5/ext/openssl/ruby_missing.h
new file mode 100644
index 0000000000..f673bb157a
--- /dev/null
+++ b/ruby_1_8_5/ext/openssl/ruby_missing.h
@@ -0,0 +1,18 @@
+/*
+ * $Id: ruby_missing.h,v 1.3 2003/09/06 08:56:57 gotoyuzo Exp $
+ * 'OpenSSL for Ruby' project
+ * Copyright (C) 2001-2003 Michal Rokos <m.rokos@sh.cvut.cz>
+ * All rights reserved.
+ */
+/*
+ * This program is licenced under the same licence as Ruby.
+ * (See the file 'LICENCE'.)
+ */
+#if !defined(_OSSL_RUBY_MISSING_H_)
+#define _OSS_RUBY_MISSING_H_
+
+#define rb_define_copy_func(klass, func) \
+ rb_define_method(klass, "initialize_copy", func, 1)
+
+#endif /* _OSS_RUBY_MISSING_H_ */
+