aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 02:10:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 02:10:40 +0000
commit10a9f14d00add45b3f7b3b17f21ba87b6f187f6d (patch)
treefea6af122d375b094c3aff58a38f3f3418590afa /template
parent1c65eb6d502ee79176fb821b2abe644ecf81a300 (diff)
downloadruby-10a9f14d00add45b3f7b3b17f21ba87b6f187f6d.tar.gz
Rename RbConfig::Limits as RbConfig::LIMITS
* template/limits.c.tmpl (Init_limits): rename RbConfig::Limits as RbConfig::LIMITS, constants other than class or module are all uppercase with underscores by convention. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/limits.c.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/limits.c.tmpl b/template/limits.c.tmpl
index f4ecaf62f9..6b7610a030 100644
--- a/template/limits.c.tmpl
+++ b/template/limits.c.tmpl
@@ -55,7 +55,7 @@ void
Init_limits(void)
{
VALUE h = rb_hash_new();
- rb_define_const(rb_define_module("RbConfig"), "Limits", h);
+ rb_define_const(rb_define_module("RbConfig"), "LIMITS", h);
#ifdef HAVE_LONG_LONG
#ifndef ULLONG_MAX