@permittedKwargs({'prefix', 'no_builtin_args', 'include_directories', 'args', 'dependencies'})
def sizeof_method(self, args, kwargs):
    if (len(args) != 1):
        raise InterpreterException('Sizeof takes exactly one argument.')
    check_stringlist(args)
    element = args[0]
    prefix = kwargs.get('prefix', '')
    if (not isinstance(prefix, str)):
        raise InterpreterException('Prefix argument of sizeof must be a string.')
    extra_args = functools.partial(self.determine_args, kwargs)
    (deps, msg) = self.determine_dependencies(kwargs)
    esize = self.compiler.sizeof(element, prefix, self.environment, extra_args=extra_args, dependencies=deps)
    mlog.log('Checking for size of', mlog.bold(element, True), msg, esize)
    return esize
@permittedKwargs({'prefix', 'no_builtin_args', 'include_directories', 'args', 'dependencies'})
def sizeof_method(self, args, kwargs):
    if (len(args) != 1):
        raise InterpreterException('Sizeof takes exactly one argument.')
    check_stringlist(args)
    element = args[0]
    prefix = kwargs.get('prefix', )
    if (not isinstance(prefix, str)):
        raise InterpreterException('Prefix argument of sizeof must be a string.')
    extra_args = functools.partial(self.determine_args, kwargs)
    (deps, msg) = self.determine_dependencies(kwargs)
    esize = self.compiler.sizeof(element, prefix, self.environment, extra_args=extra_args, dependencies=deps)
    mlog.log('Checking for size of', mlog.bold(element, True), msg, esize)
    return esize