Commit Graph

40 Commits

Author SHA1 Message Date
Masaki Muranaka 2b5b161f8b Sort include files. Some redundant includes are removed. 2013-03-29 10:22:31 +09:00
Yukihiro Matz Matsumoto 18b2683b97 use new mrb_format API from mrb_raisef; its only format specifier is "%S" (stringify) and takes mrb_value; close #1062 2013-03-27 23:41:23 +09:00
MATSUMOTO Ryosuke 7328b68b9f Adjusted indent, space and tab 2013-03-24 11:35:42 +09:00
Masaki Muranaka fc63ef150b Add new API mrb_intern_cstr(). This is for naming orthogonality. mrb_intern is also left for backward compatibility. 2013-03-22 14:39:28 +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 6ab9c389c4 Use mrb_true_or_false_value() / in sym_equal(). 2013-03-19 11:04:23 +09:00
Yuichiro MASUI eff538c250 Removed unused expr 2013-03-18 01:12:52 +09:00
kano4 22756f45be Fix indentation in symbol.c 2013-03-14 23:47:31 +09:00
Yukihiro Matz Matsumoto 93e9174c57 symbol length make size_t from mrb_int; cancel #993 monaka/pr-cleanup-symbol.c-20130312 2013-03-14 19:09:55 +09:00
Masaki Muranaka 48cc92b3c6 Use mrb_int as possible. 2013-03-12 23:54:55 +09:00
Masaki Muranaka 66c4859d6c Copy to *lenp just in case lenp != NULL. 2013-03-12 23:54:14 +09:00
mattn 9d3a864a86 Skip end of loop in mrb_sym2name_len 2013-03-05 10:48:05 +09:00
Yukihiro Matz Matsumoto e429905597 replace SYM2ID() by mrb_symbol() 2012-11-04 05:11:39 +09:00
Yukihiro Matsumoto ac789ae61c free symbol table from mrb_close() 2012-08-28 02:03:19 +09:00
Yukihiro Matsumoto 1ed39d5c05 use TRUE/FALSE instead of 1/0 2012-08-13 04:19:24 +09:00
Yukihiro Matsumoto 8af5a999bf store :initialize in mrb structure 2012-08-08 00:25:35 +09:00
Max Anselm 5a4beeed2d Make all(?) void casts explicit for C++ 2012-07-29 19:48:48 -04:00
Masaki Muranaka d73a54d80a Use memcpy instead of strncpy 2012-07-23 10:18:11 +09:00
Junji Sawada 96366117ea Remove unnecessary header inclusion 2012-07-14 11:39:25 +09:00
Yukihiro Matsumoto bbec03bb7a add missing (empty) default for swtch; close #364 2012-07-13 14:35:18 +09:00
Yukihiro Matsumoto 48c73ac630 less <stdio.h> 2012-07-13 10:13:47 +09:00
crimsonwoods cd68190480 split declaration and definition for 'khash_xxx'. 2012-06-19 23:00:29 +09:00
Yukihiro Matsumoto 7744315d88 add Symbol#<=> 2012-06-19 16:50:02 +09:00
Yukihiro Matsumoto 0ef76fdbde make init function consistent: mrb_init_symbols to mrb_init_symbol 2012-06-15 14:08:11 +09:00
Yukihiro Matsumoto 9067cf6a75 should not quote || and && operators; close #253 2012-06-11 14:24:26 +09:00
Yukihiro Matsumoto e3d17e54f8 mruby/string.h: rename buf to ptr 2012-06-05 23:17:09 +09:00
Yukihiro Matsumoto 0b4f332137 merge conflict resolution 2012-06-05 08:51:43 +09:00
Yukihiro Matsumoto f06eceaa19 since 1.9 "!=" op is a method call 2012-06-05 08:43:58 +09:00
Yukihiro Matsumoto b7cc7fffe7 symbol can contain non printable characters 2012-06-05 08:34:09 +09:00
Yukihiro Matsumoto b2e6a0fc04 symbol can contain non printable characters 2012-06-04 20:34:43 +09:00
Frank Celler a3d00a902a fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well 2012-06-02 12:04:08 +02:00
Yukihiro Matsumoto 364e6b5a50 symbol table key should be mrb_sym, not int32_t 2012-06-01 09:44:19 +09:00
Yukihiro Matsumoto 64fc4ac332 resolve conflict 2012-05-31 15:32:38 +09:00
Yukihiro Matsumoto 3483e360ed remove unused #include 2012-05-11 10:26:50 +09:00
roco 4ec6d41f16 rm whitespace 2012-04-30 14:29:19 -07:00
Patrick Hogan a408ba2dd6 Remove unused ret argument from kh_put.
It doesn't appear to serve any purpose and allows removing warning about various unused variables littered around.

Signed-off-by: Patrick Hogan <pbhogan@gmail.com>
2012-04-26 08:36:32 -05:00
Yukihiro Matsumoto 8b367098ac move header files {irep,dump,cdump,ritehash}.h to /include/mruby 2012-04-24 17:41:28 +09:00
Yukihiro Matsumoto 2fc1b8af2d mv variable.h to mruby/variable.h 2012-04-24 15:59:50 +09:00
mimaki 835443614d add file header 2012-04-23 11:46:16 +09:00
mimaki e0d6430f63 add mruby sources 2012-04-20 09:39:03 +09:00