mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
d3184e4a6d
- define `MRB_TT_COMPLEX` - change object structure (`struct RComplex`) - add memory management for `MRB_TT_COMPLEX` - avoid operator overloading as much as possible - as a result, performance improved a log - should work with and without `Rational` defined
8 lines
253 B
Ruby
8 lines
253 B
Ruby
MRuby::Gem::Specification.new('mruby-complex') do |spec|
|
|
spec.license = 'MIT'
|
|
spec.author = 'mruby developers'
|
|
spec.summary = 'Complex class'
|
|
spec.build.cc.defines << "MRB_USE_COMPLEX"
|
|
spec.add_dependency 'mruby-math', core: 'mruby-math'
|
|
end
|