def SpiceUDFUNB(f):
@functools.wraps(f)<EOL>def wrapping_udfunb(udf, et, xbool):<EOL><INDENT>result = f(udf, et) <EOL>xbool[<NUM_LIT:0>] = c_int(result)<EOL><DEDENT>return UDFUNB(wrapping_udfunb)<EOL>
Decorator for wrapping python functions in spice udfunb callback type
:param f: function to be wrapped
:type f: builtins.function
:return: wrapped udfunb function
:rtype: builtins.function