parameters: (self, f)
docstring: Writes the code to get an argument from a command structure.
docstring_summary: Writes the code to get an argument from a command structure.
docstring_tokens: Writes the code to get an argument from a command structure .
function: def WriteGetCode(self, f):
      """Writes the code to get an argument from a command structure."""
      if self.type == 'GLsync':
        my_type = 'GLuint'
      else:
        my_type = self.type
      f.write("  %s %s = static_cast<%s>(c.%s);\n" %
                 (my_type, self.name, my_type, self.name))
function_tokens: def WriteGetCode ( self , f ) : if self . type == 'GLsync' : my_type = 'GLuint' else : my_type = self . type f . write ( "  %s %s = static_cast<%s>(c.%s);\n" % ( my_type , self . name , my_type , self . name ) )