Don't abuse "rb_define_module_function"
authorWincent Colaiuta <win@wincent.com>
Wed, 28 Jul 2010 20:55:48 +0000 (22:55 +0200)
committerWincent Colaiuta <win@wincent.com>
Wed, 28 Jul 2010 20:55:48 +0000 (22:55 +0200)
commit52811d04cd54e1ce6f08d540e391d054f3bc07c0
treee91fab93caa322d024a661b78e7112b1e980429e
parent051b988a765144c9d51c12b5848973b95323c234
Don't abuse "rb_define_module_function"

"rb_define_singleton_method" seems more appropriate here, even though
the actual behavior seems to be basically equivalent.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/mkdtemp.c