[ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object.
This commit is contained in:
parent
b451fc464b
commit
d0af6fd97d
4 changed files with 12 additions and 6 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue