Searched refs:headerFile (Results 1 – 2 of 2) sorted by relevance
32 def getIncludeGuardName (headerFile): argument33 return '_' + os.path.basename(headerFile).upper().replace('.', '_')35 def hasValidIncludeGuard (headerFile): argument36 includeGuard = getIncludeGuardName(headerFile)37 f = open(headerFile, 'rt')38 isHpp = headerFile[-4:] == ".hpp"61 def fixIncludeGuard (headerFile): argument62 f = open(headerFile, 'rt')64 isHpp = headerFile[-4:] == ".hpp"65 includeGuard = getIncludeGuardName(headerFile)[all …]
255 def getIncludeGuardName (headerFile): argument256 return '_' + os.path.basename(headerFile).upper().replace('.', '_')