bool
ValueNode_Subtract::set_link_vfunc(int i,ValueNode::Handle value)
{
- assert(i>=0 && i<3);
+ assert(i>=0 && i<link_count());
+
switch(i)
{
case 0:
ValueNode::LooseHandle
ValueNode_Subtract::get_link_vfunc(int i)const
{
- assert(i>=0 && i<3);
+ assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return ref_a;
String
ValueNode_Subtract::link_local_name(int i)const
{
- assert(i>=0 && i<3);
+ assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return _("LHS");
String
ValueNode_Subtract::link_name(int i)const
{
- assert(i>=0 && i<3);
+ assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return "lhs";