code: def _get_clipfn(size, signed=True):
      maxval = _get_maxval(size, signed)
      minval = _get_minval(size, signed)
      return lambda val: builtin_max(min(val, maxval), minval)
  
imports: import math
  import struct
  from ctypes import create_string_buffer
label_desc: Use image node_id 10 for calling a global function with example usage: _get_clipfn(size, signed) and returns: function