parameters: (self, f, func)
docstring: overridden from Argument.
docstring_summary: overridden from Argument.
docstring_tokens: overridden from Argument .
function: def WriteClientSideValidationCode(self, f, func):
      """overridden from Argument."""
      code = """  if (%(var_name)s < 0) {
      SetGLError(GL_INVALID_VALUE, "gl%(func_name)s", "%(var_name)s < 0");
      return;
    }
  """
      f.write(code % {
          "var_name": self.name,
          "func_name": func.original_name,
        })
function_tokens: def WriteClientSideValidationCode ( self , f , func ) : code = """  if (%(var_name)s < 0) {
      SetGLError(GL_INVALID_VALUE, "gl%(func_name)s", "%(var_name)s < 0");
      return;
    }
  """ f . write ( code % { "var_name" : self . name , "func_name" : func . original_name , } )