summaryrefslogtreecommitdiff
path: root/template/limits.c.tmpl
AgeCommit message (Collapse)Author
2024-10-07Make rbconfig/sizeof keys US-ASCIINobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11815
2024-10-07Make rbconfig/sizeof keys as literalsNobuyoshi Nakada
These keys are made from string literals, and used only as keys of hashes. Notes: Merged: https://github.com/ruby/ruby/pull/11814
2024-07-15[DOC] Document RbConfig::LIMITSAlan Wu
2024-07-15Refactor so RDoc picks up RbConfig::{SIZEOF,LIMITS}Alan Wu
2017-04-06Freeze RbConfig::SIZEOF and RbConfig::LIMITSnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-06Rename RbConfig::Limits as RbConfig::LIMITSnobu
* 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
2017-01-31limits.c.tmpl: fallback ULLONG_MAXnobu
* template/limits.c.tmpl (ULLONG_MAX): add a fallback definition. On old CentOS lacks ULLONG_MAX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-30make FIXNUM_MAX visible from Rubyshyouhei
Because our tests now have several places where FIXNUM_MAX is needed, we decided to provide it along with several other constants. * template/limits.c.tmpl: new file, defining RbConfig::Limits * ext/rbconfig/sizeof/depend (limits.c): rule to generate limits.c * test/-ext-/num2int/test_num2int.rb: use RbConfig::Limits * bootstraptest/test_insns.rb: ditto. * .gitignore: ignore new generated file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e