MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / IsHeaderFile

Function IsHeaderFile

scripts/linux/ycm_extra_conf.py:107–109  ·  view source on GitHub ↗
( filename )

Source from the content-addressed store, hash-verified

105
106
107def IsHeaderFile( filename ):
108 extension = os.path.splitext( filename )[ 1 ]
109 return extension in [ '.h', '.hxx', '.hpp', '.hh' ]
110
111
112def GetCompilationInfoForFile( filename ):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected