Masaki Muranaka
|
5c4c2f3788
|
Fix raisef formats in struct.c.
|
2013-03-28 16:07:50 +09:00 |
|
Yukihiro Matz Matsumoto
|
e69a13a20e
|
resolve conflict
|
2013-03-24 00:44:28 +09:00 |
|
Masaki Muranaka
|
f8fa56d8c3
|
Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by strlen().
|
2013-03-22 14:22:45 +09:00 |
|
Yukihiro Matz Matsumoto
|
d0d920e909
|
rename mrb_true_or_false_value() to mrb_bool_value()
|
2013-03-19 12:03:54 +09:00 |
|
Masaki Muranaka
|
9d8c1eccbe
|
Use mrb_true_or_false_value() / in mrb_struct_eql().
|
2013-03-19 11:04:16 +09:00 |
|
Masaki Muranaka
|
0e9512cc4b
|
Use mrb_true_or_false_value() / in mrb_struct_equal().
|
2013-03-19 11:03:26 +09:00 |
|
Yukihiro Matz Matsumoto
|
38571fd769
|
use mrb_int as possible based on a patch from @monaka; close #994
|
2013-03-14 19:39:17 +09:00 |
|
Yukihiro Matz Matsumoto
|
9d0bbdb7f8
|
use size_t for string length C API
|
2013-03-14 19:33:38 +09:00 |
|
Masaki Muranaka
|
be506de3fc
|
Remove mrb_str_new2(). Use mrb_str_new_cstr() instead.
Make mrb_str_new_cstr() accept NULL pointer. It generates 0byte strings by NULL pointer.
|
2013-03-12 17:54:40 +09:00 |
|
Cremno
|
f719b0e7ff
|
define and use print format macros for mrb_int
For portability: %ld can't be used to print a 64-bit mrb_int on
WIN(32|64) because long is 32-bit wide.
|
2013-03-08 18:20:54 +01:00 |
|
Masaki Muranaka
|
6cd7017ec1
|
Remove trailing whitespaces. This is just a cosmetic change.
|
2013-03-03 10:54:00 +09:00 |
|
Carson McDonald
|
dd8d74fc2b
|
Remove unused var sv
|
2013-03-01 16:04:06 -05:00 |
|
Yukihiro Matz Matsumoto
|
8f5a09ba15
|
use TT_ARRAY instead of TT_DATA
|
2013-03-02 03:24:34 +09:00 |
|
Yukihiro Matz Matsumoto
|
6f88c8407e
|
replace instance_of check with structure check
|
2013-03-01 22:33:49 +09:00 |
|
Yukihiro Matz Matsumoto
|
389da9dcf0
|
remove struct RStruct, use RArray instead
|
2013-03-01 22:26:50 +09:00 |
|
Yukihiro Matz Matsumoto
|
d9dc492f83
|
fix indent in struct.c
|
2013-03-01 22:09:17 +09:00 |
|
Yukihiro Matz Matsumoto
|
45890faefb
|
internal array should be pudated using mrb_ary_set()
|
2013-03-01 22:00:59 +09:00 |
|
mattn
|
99a6de063c
|
Set nil to uninitialized members
|
2013-03-01 17:45:49 +09:00 |
|
mattn
|
cb2de0907a
|
Fix copy values
|
2013-03-01 17:42:35 +09:00 |
|
mattn
|
8ebf9c38e4
|
Fixed GC guard
|
2013-03-01 17:37:53 +09:00 |
|
mattn
|
d6876aec09
|
Should be MRB_DATA class. RStruct isn't managed by mruby core. So it should be self-managed class instances.
|
2013-03-01 17:05:40 +09:00 |
|
mattn
|
3f1814ce3a
|
Move mrblib for Struct
|
2013-03-01 15:33:52 +09:00 |
|
mattn
|
878fe38b4c
|
Gemify
|
2013-03-01 14:56:28 +09:00 |
|
mattn
|
138ecf4723
|
Pluggable Struct
|
2013-03-01 13:37:46 +09:00 |
|