return nmem_malloc(o ? o->mem : 0, size);
}
char *odr_strdup(ODR o, const char *str)
{
return nmem_malloc(o ? o->mem : 0, size);
}
char *odr_strdup(ODR o, const char *str)
{
if (o->pos + bytes >= o->size && odr_grow_block(o, bytes))
{
odr_seterror(o, OSPACE, 40);
if (o->pos + bytes >= o->size && odr_grow_block(o, bytes))
{
odr_seterror(o, OSPACE, 40);
if (offset > o->size && odr_grow_block(o, offset - o->size))
{
odr_seterror(o, OSPACE, 41);
if (offset > o->size && odr_grow_block(o, offset - o->size))
{
odr_seterror(o, OSPACE, 41);