parameters: (cmd)
return_statement: return ''
docstring: Return the inline identifier (may be empty).
docstring_summary: Return the inline identifier (may be empty).
docstring_tokens: Return the inline identifier ( may be empty ) .
function: def check_inline(cmd):
      """Return the inline identifier (may be empty)."""
      cmd._check_compiler()
      body = """
  #ifndef __cplusplus
  static %(inline)s int static_func (void)
  {
      return 0;
  }
  %(inline)s int nostatic_func (void)
  {
      return 0;
  }
  #endif"""
  
      for kw in ['inline', '__inline__', '__inline']:
          st = cmd.try_compile(body % {'inline': kw}, None, None)
          if st:
              return kw
  
      return ''
function_tokens: def check_inline ( cmd ) : cmd . _check_compiler ( ) body = """
  #ifndef __cplusplus
  static %(inline)s int static_func (void)
  {
      return 0;
  }
  %(inline)s int nostatic_func (void)
  {
      return 0;
  }
  #endif""" for kw in [ 'inline' , '__inline__' , '__inline' ] : st = cmd . try_compile ( body % { 'inline' : kw } , None , None ) if st : return kw return ''