Skip to content
use limits.h value in mruby
C Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
LICENSE.txt
README.md
mrbgem.rake

README.md

mruby-limits

call limits.h consts.

puts Limits::CHAR_MAX #=> defined value at limits.h

Installation

use github repository

Write in build_config.rb

MRuby::Build.new do |conf|
  conf.gem :github => 'ksss/mruby-limits', :branch => 'master'
end

or use mgem

mgem add mruby-limits

build

and exec.

rake clean
rake test
rake
mruby -e 'puts Limits::CHAR_MAX'
You can’t perform that action at this time.