code: def SpiceUDSTEP(f):
      
  
      @functools.wraps(f)
      def wrapping_udstep(x, value):
          result = f(x)
          value[0] = c_double(result)
  
      return UDSTEP(wrapping_udstep)
docs: 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