def SpiceUDSTEP(f):
@functools.wraps(f)<EOL>def wrapping_udstep(x, value):<EOL><INDENT>result = f(x)<EOL>value[<NUM_LIT:0>] = c_double(result)<EOL><DEDENT>return UDSTEP(wrapping_udstep)<EOL>
Decorator for wrapping python functions in spice udstep callback type
:param f: function to be wrapped
:type f: builtins.function
:return: wrapped udstep function
:rtype: builtins.function