Yukihiro Matsumoto
a4d3579e31
add extern "C" guards; close #126
2012-05-18 02:02:49 +09:00
Yukihiro Matsumoto
470da1eda0
redefine POST/NEG FIXABLE using INT_MIN/MAX
2012-05-17 09:32:23 +09:00
Yukihiro Matsumoto
2541530239
add mrb_define_singleton_method/mrb_define_module_function
2012-05-17 02:44:41 +09:00
Yukihiro Matsumoto
a3a9d136aa
remove "comparison is always true" warning
2012-05-15 18:59:25 +09:00
Yukihiro Matsumoto
3483e360ed
remove unused #include
2012-05-11 10:26:50 +09:00
Yukihiro Matsumoto
affb5cb7c2
remove encode_class and converter_class from mrb_state
2012-05-10 23:16:28 +09:00
Yukihiro Matsumoto
4e40121f71
remove regex_class and match_class from mrb_state
2012-05-10 23:11:20 +09:00
Yukihiro Matsumoto
4d3ed8c4f9
remove mrb->range_class
2012-05-10 23:07:54 +09:00
Yukihiro Matsumoto
bcd24af19c
temporal VC patch from nkshigeru
2012-05-09 22:23:39 +09:00
Yukihiro Matsumoto
22bd603a7e
move declaration in the middle
2012-05-09 10:59:05 +09:00
Yukihiro Matsumoto
f4cf8ea423
partial VC support
2012-05-09 08:49:38 +09:00
Yukihiro Matsumoto
d0e63a3a03
RMatch.src should not be mrb_value
2012-05-07 17:31:07 +09:00
Yuichiro MASUI
11b6366e48
add const to char*
2012-05-06 20:04:33 +09:00
Yukihiro Matsumoto
b0e94d8c14
Time class available; based on code from @beoran; sorry for jumbo patch
2012-05-06 00:52:22 +09:00
Yukihiro Matsumoto
e0460c1157
hash refactored
2012-05-05 08:55:58 +09:00
Yukihiro Matsumoto
c9a51c43bc
use int8_t for tt
2012-05-05 07:59:15 +09:00
Yukihiro Matsumoto
eac8e4a303
move mrb_obj_is_instance_of from range.c to kernel.c
2012-05-05 00:21:23 +09:00
Yukihiro Matsumoto
e806f55e69
move mrb_str_new prototype to mruby.h
2012-05-04 22:39:21 +09:00
Yukihiro Matsumoto
4fd260489e
remove ruby_strdup() prototype
2012-05-01 18:17:58 +09:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07:00
Yukihiro Matsumoto
fc66d308a1
remove bit field from mrb_value
2012-04-30 00:27:02 +09:00
Yukihiro Matsumoto
943bef2d7c
changed type of mrb_int to plain int by default
2012-04-30 00:08:50 +09:00
Yukihiro Matsumoto
3725fe657d
return value of mrb_obj_is_kind_of() should be int (used as boolean); fix #71
2012-04-30 00:06:01 +09:00
Yukihiro Matsumoto
0c5eba8936
strtof() may not be available on some platform; use strtod() then cast to float
2012-04-28 23:34:11 +09:00
Yukihiro "Matz" Matsumoto
2b6be16308
Merge pull request #61 from pbhogan/fix-warnings
...
Fix various warnings
2012-04-27 08:56:39 -07:00
Yukihiro Matsumoto
32db0e5d8c
struct RString member should not be mrb_value
2012-04-28 00:32:34 +09:00
Yukihiro Matsumoto
ee30c5a4a4
allow float/double switch
2012-04-27 18:31:45 +09:00
Patrick Hogan
f9647592ef
Remove unused variable in khash
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
4b8515184d
mrb_read_irep should take const char *
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05: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
7b3d628c86
use mrb_float instead of double
2012-04-26 11:13:45 +09:00
Yukihiro Matsumoto
86946043c3
disclose mrb_top_self() and use it in mruby.c
2012-04-25 11:50:03 +09: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
2970b6aadb
change type of RString.size from size_t to long
2012-04-24 16:03:42 +09:00
Yukihiro Matsumoto
2fc1b8af2d
mv variable.h to mruby/variable.h
2012-04-24 15:59:50 +09:00
Yukihiro Matsumoto
a5c0d2a996
remove st_hash_type comment
2012-04-24 11:00:06 +09:00
mimaki
c80487561f
Merge branch 'master' of github.com:mruby/mruby
...
Conflicts:
src/variable.c
2012-04-23 11:51:47 +09:00
mimaki
835443614d
add file header
2012-04-23 11:46:16 +09:00
Yukihiro Matsumoto
748d762e85
object instance variable do not use st.c
2012-04-21 12:42:43 +09:00
Yukihiro "Matz" Matsumoto
36be1d6270
Merge pull request #18 from pbhogan/master
...
#undef DEBUG for compatibility with environments that define DEBUG (like Xcode)
2012-04-20 07:55:36 -07:00
Yukihiro "Matz" Matsumoto
90ef60d96c
Merge pull request #19 from ranmocy/master
...
fixed statement alignment
2012-04-20 07:54:02 -07:00
Ranmocy
9e32b5152e
fixed statement alignment
2012-04-20 22:39:46 +08:00
Patrick Hogan
4cb86f87a1
#undef DEBUG for compatibility with environments that define DEBUG (like Xcode)
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-20 09:32:35 -05:00
Yukihiro Matsumoto
3c1b347834
remove dependency to SIZEOF_LONG/LONG_LONG
2012-04-20 22:46:07 +09:00
Yukihiro Matsumoto
2c28d29cec
remove SIZEOF_FLOAT/DOUBLE
2012-04-20 22:39:22 +09:00
Yukihiro Matsumoto
0f0ad36c5f
remove dependency to SIZEOF___INT64
2012-04-20 22:39:02 +09:00
Yukihiro Matsumoto
1f78ba77a2
remove SIZEOF_SHORT
2012-04-20 22:37:21 +09:00
Yukihiro Matsumoto
59a85eef46
Merge branch 'master' of github.com:mruby/mruby
2012-04-20 22:34:21 +09:00
Yukihiro Matsumoto
41bf311cd1
remove dependency to SIZEOF_INT
2012-04-20 22:31:58 +09:00
Yukihiro Matsumoto
5622c977f4
remove dependency to SIZEOF_VOIDP
2012-04-20 22:25:04 +09:00