Locating File Names

GetSymbolLocation can also look up file names. By giving a simple file name as the symbol_name parameter, GetSymbolLocation can look up the file in the project, or on the project symbol path, and return the fully qualified path to the file in the location.file field. This can be useful for expanding a simple file name into its full path.

For example:

loc = GetSymbolLocation("simple.c")
fullfilename = loc.file
// fullfilename could be something like