human
I wrote the below code

    def imp(context, builder, sig, args):
        func = context.declare_function(builder.module, gendesc)
        (status, retval) = context.call_conv.call_function(builder, func, gendesc.restype, gendesc.argtypes, args, env=None)
        return (status, retval)
    imp.libs = tuple(libs)
    return imp

What's a good function header?
assistant
#Here's a good function header.

def user_generator(gendesc, libs):