Commit 61bf56ee authored by claes's avatar claes

*** empty log message ***

parent 120ea453
......@@ -592,7 +592,7 @@ ldh_GetObjectBuffer(ldh_tSession session, pwr_tOid oid, char *bname,
*value = (char *)calloc(1, a.size());
*size = a.size();
a.value( value);
a.value( *value);
*bufferclass = a.bufferClass();
return LDH__SUCCESS;
}
......
......@@ -272,27 +272,29 @@ wb_attribute wb_object::attribute()
check();
pwr_tStatus sts = LDH__SUCCESS;
wb_adrep *adrep = m_orep->attribute(&sts);
wb_attribute a(sts, m_orep, adrep);
wb_attribute a(sts, m_orep);
return a;
}
wb_attribute wb_object::attribute(const char *name)
wb_attribute wb_object::attribute(const char *aname)
{
check();
pwr_tStatus sts = LDH__SUCCESS;
wb_adrep *adrep = m_orep->attribute(&sts, name);
wb_attribute a(sts, m_orep, adrep);
wb_attribute a(sts, m_orep, aname);
return a;
}
wb_attribute wb_object::attribute(const char *bname, const char *aname) // Fix
wb_attribute wb_object::attribute(const char *bname, const char *aname)
{
wb_attribute a;
return a;
check();
pwr_tStatus sts = LDH__SUCCESS;
wb_attribute a(sts, m_orep, bname, aname);
return a;
}
/* Object SigChanCon $ObjXRef 2
......
......@@ -608,7 +608,7 @@ void wb_wblnode::buildBuffer( ref_wblnode classdef, ref_wblnode objbodydef,
return;
}
a_size = ((pwr_sBuffer *)rbody)->Info.Offset = a_elements * rsize;
a_size = ((pwr_sBuffer *)rbody)->Info.Size = a_elements * rsize;
a_offset = ((pwr_sBuffer *)rbody)->Info.Offset = *boffset;
((pwr_sBuffer *)rbody)->Info.ParamIndex = *bindex;
*boffset += a_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment