Yukihiro Matsumoto
f6d539eabd
clear arena_idx after exiting scope; close #195
2012-05-26 11:18:16 +09:00
Yukihiro Matsumoto
c2a084dff9
wrong number of arguments for self-assignments
2012-05-24 09:24:11 +09:00
Mitchell Blank Jr
d1cd10421f
change example code to do mrb_close()
...
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?) Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07:00
Mitchell Blank Jr
3471e2b134
C++ compilability - don't define types inside others
...
The following is legal code in both C and C++:
struct foo {
struct bar { int a } x;
int y;
};
...however in C++ it defines a type called "foo::bar" instead of "bar".
Just avoid this construct altogether
2012-05-19 22:40:57 -07:00
Yukihiro Matsumoto
aeca23166b
remove dependency to node.h and pool.h
2012-05-19 15:52:47 +09:00
Yukihiro Matsumoto
219162117a
move compile.h to mruby/compile.h
2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto
490fa45298
add cast to remove warning; close #154
2012-05-17 16:38:37 +09:00
Yukihiro Matsumoto
103ef78e59
no SEGV for nth_ref & back_ref; close #152
2012-05-17 13:21:01 +09:00
Yukihiro Matsumoto
878593430a
mrb_run to return last evaluated value
2012-05-10 18:20:49 +09:00
Kazuki Tsujimoto
ef8fe627fb
Remove debug message
2012-05-05 16:32:25 +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