示例#1
0
ConstField get(ConstContext ctx, const char* key, size_t key_length)
{
    const ib_field_t* result;

    throw_if_error(ib_module_constant_get(&result, ctx.ib(), key, key_length));

    return ConstField(result);
}
示例#2
0
Context Context::remove_const(ConstContext context)
{
    return Context(const_cast<ib_type>(context.ib()));
}