Commit Graph

21 Commits

Author SHA1 Message Date
Yuichiro MASUI 15f46a1feb define convert method mrb_int/mrb_float with C string 2012-10-27 14:26:50 +09:00
Yukihiro "Matz" Matsumoto e05bbd45bb Merge pull request #504 from monaka/pr-remove-redundant-sizeof-char
Remove redundant sizeof(char).
2012-10-22 07:09:46 -07:00
Masaki Muranaka dd10048094 Remove redundant sizeof(char). "Always sizeof(char) == 1" is described in ISO C specs. 2012-10-22 11:21:04 +09:00
Masaki Muranaka fed285d194 Use MRB_DUMP_SIZE_OF_CHAR instead of sizeof(char). 2012-10-22 11:17:31 +09:00
Masaki Muranaka 2ab40b4dcc Fix prototype/declaration mismatch in uint8_dump(). 2012-10-22 11:08:06 +09:00
Yukihiro Matsumoto 9bb6f0b331 pool string need not to convert 2012-10-20 03:32:02 +09:00
Tomoyuki Sahara ebf88eec6b a string may have NUL characters. 2012-09-10 18:44:30 +09:00
Yukihiro Matsumoto 7d02df3016 NaN boxing 2012-08-14 13:16:34 +09:00
Max Anselm 5a4beeed2d Make all(?) void casts explicit for C++ 2012-07-29 19:48:48 -04:00
Masaki Muranaka cd50242146 Reduce strlen(). refs #301 2012-07-16 17:58:20 +09:00
Masaki Muranaka 611cf71a10 Use mrb_calloc if you want zero cleard buffers. 2012-07-08 11:33:49 +09:00
Masaki Muranaka cc431827e9 write_pool_block(): reduce calling strlen(). refs #301.
dump_irep_record(): Set error code in case dump failed.
2012-07-06 14:02:55 +09:00
Yukihiro Matsumoto 9936ce997c forgot to rename function mrb_sym2name -> mrb_sym2name_len 2012-06-21 16:27:05 +09:00
Yukihiro Matsumoto a70c4e0c79 reduce calling of strlen(); #301 2012-06-21 16:22:29 +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 b7cc7fffe7 symbol can contain non printable characters 2012-06-05 08:34:09 +09:00
Yukihiro Matsumoto 4523bee953 cast style consistency 2012-05-23 03:31:55 +09:00
roco 4ec6d41f16 rm whitespace 2012-04-30 14:29:19 -07:00
Yukihiro Matsumoto 8b367098ac move header files {irep,dump,cdump,ritehash}.h to /include/mruby 2012-04-24 17:41:28 +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