aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGOTOU Yuuzou <gotoyuzo@notwork.org>2001-12-21 19:25:47 +0000
committerGOTOU Yuuzou <gotoyuzo@notwork.org>2001-12-21 19:25:47 +0000
commitb248d91eda8ce439e8d3565438c5ca9bc7c07e9d (patch)
tree5b9066ecd914de29ab8732b632895ed600a6e03d
parentb9ecb9deaa1cb64dc64995ec96f03853b80d9607 (diff)
downloadruby-openssl-history-b248d91eda8ce439e8d3565438c5ca9bc7c07e9d.tar.gz
* fixed unusual usage of ## preprocessing token sequnence.
-rw-r--r--ossl_digest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ossl_digest.c b/ossl_digest.c
index 05d8a18..d744d39 100644
--- a/ossl_digest.c
+++ b/ossl_digest.c
@@ -264,8 +264,8 @@ Init_ossl_digest(VALUE module)
* automation for classes creation and initialize method binding
*/
#define DefDigest(name, func) \
- c##name## = rb_define_class_under(module, #name, cDigest); \
- rb_define_method(c##name##, "initialize", ossl_##func##_initialize, -1)
+ c##name = rb_define_class_under(module, #name, cDigest); \
+ rb_define_method(c##name, "initialize", ossl_##func##_initialize, -1)
/*
* create classes and bind initialize method