ppapi/generators/idl_thunk.py
def _GetOutputParams(member, release):
  """Returns output parameters (and their types) for a member function.

  Args:
    member - IDLNode for the member function
    release - Release to get output parameters for
  Returns:
    A list of name strings for all output parameters of the member
    function.
  """
  out_params = []
  callnode = member.GetOneOf('Callspec')
  if callnode:
    cgen = CGen()
    for param in callnode.GetListOf('Param'):
      mode = cgen.GetParamMode(param)
      if mode == 'out':
        # We use the 'store' mode when getting the parameter type, since we
        # need to call sizeof() for memset().
        _, pname, _, _ = cgen.GetComponents(param, release, 'store')
        out_params.append(pname)
  return out_params
Returns output parameters (and their types) for a member function.

  Args:
    member - IDLNode for the member function
    release - Release to get output parameters for
  Returns:
    A list of name strings for all output parameters of the member
    function.
  
Returns output parameters (and their types) for a member function.
Args:
member - IDLNode for the member function
release - Release to get output parameters for
Returns:
A list of name strings for all output parameters of the member
function.
Returns output parameters ( and their types ) for a member function . Args : member - IDLNode for the member function release - Release to get output parameters for Returns : A list of name strings for all output parameters of the member function .
def _GetOutputParams(member, release):
  out_params = []
  callnode = member.GetOneOf('Callspec')
  if callnode:
    cgen = CGen()
    for param in callnode.GetListOf('Param'):
      mode = cgen.GetParamMode(param)
      if mode == 'out':
        _, pname, _, _ = cgen.GetComponents(param, release, 'store')
        out_params.append(pname)
  return out_params
def _GetOutputParams ( member , release ) : out_params = [ ] callnode = member . GetOneOf ( 'Callspec' ) if callnode : cgen = CGen ( ) for param in callnode . GetListOf ( 'Param' ) : mode = cgen . GetParamMode ( param ) if mode == 'out' : _ , pname , _ , _ = cgen . GetComponents ( param , release , 'store' ) out_params . append ( pname ) return out_params
Returns output parameters (and their types) for a member function.
Returns output parameters ( and their types ) for a member function .
"""Returns output parameters (and their types) for a member function.

  Args:
    member - IDLNode for the member function
    release - Release to get output parameters for
  Returns:
    A list of name strings for all output parameters of the member
    function.
  """ # We use the 'store' mode when getting the parameter type, since we # need to call sizeof() for memset().
member
release