[ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object.

This commit is contained in:
Takashi Tamura 2017-03-06 15:13:05 +09:00
commit d0af6fd97d
4 changed files with 12 additions and 6 deletions

View file

@ -115,6 +115,10 @@
return v;
}
std::vector<bool> videntb(const std::vector<bool>& v)
{
return v;
}
int get_elem(const std::vector<int>& v, int index)
{