Commit Graph

34 Commits

Author SHA1 Message Date
mattn b1a5146ea8 Pluggable Regexp 2013-02-15 04:38:27 +09:00
Masaki Muranaka ea82eaaa79 Remove unused function parametes. 2013-01-29 17:45:54 +09:00
Yukihiro Matz Matsumoto e429905597 replace SYM2ID() by mrb_symbol() 2012-11-04 05:11:39 +09:00
Yukihiro Matz Matsumoto d2d2e9f5f9 add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p() 2012-11-04 05:02:39 +09:00
Yukihiro Matz Matsumoto 051777dc5d replace SYMBOL_P() by mrb_symbol_p() 2012-11-04 04:53:25 +09:00
Masaki Muranaka 6069a33089 mrb_raisef(): new function. Same as previou version of mrb_raise().
mrb_raise(): API modified. It cannot treat variable arguments.
2012-10-23 09:42:22 +09:00
Masaki Muranaka 2cb183f183 Avoid memcpy() on copying structures. 2012-10-22 10:36:49 +09:00
Masaki Muranaka d085ac228e mrb_long2int(n) : Remove as unused.
defines.h : Remove as already commented out.
2012-09-29 17:00:32 +09:00
Beoran 38e3b675ee Struct.new crashed if no arguments are given. Fixed. 2012-08-09 21:58:32 +02:00
Yukihiro Matsumoto 6f6e18ef82 struct.c refactoring 2012-08-02 22:17:27 +09:00
Max Anselm 5a4beeed2d Make all(?) void casts explicit for C++ 2012-07-29 19:48:48 -04:00
Masaki Muranaka b2fc62f3a9 Remove commented out code. 2012-07-29 15:25:14 +09:00
Junji Sawada 96366117ea Remove unnecessary header inclusion 2012-07-14 11:39:25 +09:00
Masamitsu MURASE 7a17377c64 Fix Struct.new and Struct.[].
Instances of Struct's subclass should have MRB_TT_STRUCT.
2012-06-24 04:06:53 +09:00
Yukihiro Matsumoto d657e26d35 pacify const assignment warning 2012-06-24 01:12:05 +09:00
Yukihiro Matsumoto f045e64675 reduce calling mrb_str_new_cstr() to avoid strlen(); #301 2012-06-23 13:51:50 +09:00
Masaki Muranaka 21f2e5364b Use mrb_str_new() instead of mrb_str_new2() as possible. 2012-06-22 17:02:08 +09:00
Junji Sawada f443a719a1 Fix member access method definition 2012-06-18 22:20:28 +09:00
Yukihiro Matsumoto 4f4965a4a2 allow struct access; close #295 2012-06-18 08:58:56 +09:00
Yukihiro Matsumoto ede3049f33 allow disabling Struct class 2012-06-17 23:36:34 +09:00
Junji Sawada 62fdd43d65 RStruct.ptr must allocate members size 2012-06-17 21:35:32 +09:00
Yukihiro Matsumoto 76f7aecff3 use ENABLE/DISABLE instead of INCLUDE for configuration macro names 2012-06-15 15:34:49 +09:00
Yukihiro Matsumoto e4529c065d make arrays to share bodies 2012-06-03 23:05:31 +09:00
Yukihiro Matsumoto 80c8908c4e remove mrb_exec_recursive 2012-06-03 17:59:59 +09:00
Yukihiro Matsumoto 34c049c63e remove unused mrb_mem_clear 2012-06-02 21:34:10 +09:00
takahashim 49df217957 use mrb_malloc instead of malloc 2012-06-02 01:14:45 +09:00
Yukihiro Matsumoto f56abcbb5a reorder mrb_ary_new_from_values() args to (argc, argv) 2012-06-01 02:18:30 +09:00
Yukihiro Matsumoto ad9e841c53 made mrb_get_args() better (optinal args, type checks); close #173 #176 2012-05-24 01:09:36 +09:00
Masaki Muranaka 3407376936 Remove unused static functions. 2012-05-16 16:06:12 +09:00
roco 4ec6d41f16 rm whitespace 2012-04-30 14:29:19 -07:00
Yukihiro Matsumoto 2fc1b8af2d mv variable.h to mruby/variable.h 2012-04-24 15:59:50 +09:00
Yukihiro Matsumoto d4ef3baca8 remove code for unsupported taint-mode 2012-04-23 18:30:49 +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