@permittedKwargs({'define_variable', 'default'})
def pkgconfig_method(self, args, kwargs):
    args = listify(args)
    if (len(args) != 1):
        raise InterpreterException('get_pkgconfig_variable takes exactly one argument.')
    varname = args[0]
    if (not isinstance(varname, str)):
        raise InterpreterException('Variable name must be a string.')
    return self.held_object.get_pkgconfig_variable(varname, kwargs)
@permittedKwargs({'define_variable', 'default'})
def pkgconfig_method(self, args, kwargs):
    args = listify(args)
    if (len(args) != 1):
        raise InterpreterException('get_pkgconfig_variable takes exactly one argument.')
    varname = args[0]
    if (not isinstance(varname, str)):
        raise InterpreterException('Variable name must be a string.')
    return self.held_object.get_pkgconfig_variable(varname, kwargs)