|The TMSourceFile structure represents the source file and its tags in the tag manager. More...|
|typedef struct TMSourceFile||TMSourceFile|
|The TMSourceFile structure represents the source file and its tags in the tag manager. |
|gchar *||tm_get_real_path (const gchar *file_name)|
|Given a file name, returns a newly allocated string containing the realpath() of the file. More...|
|void||tm_source_file_free (TMSourceFile *source_file)|
|Decrements the reference count of source_file. More...|
|TMSourceFile *||tm_source_file_new (const char *file_name, const char *name)|
|Initializes a TMSourceFile structure and returns a pointer to it. More...|
The TMSourceFile structure and associated functions are used to maintain tags for individual files.
|gchar* tm_get_real_path||(||const gchar *||file_name||)|
Given a file name, returns a newly allocated string containing the realpath() of the file.
|file_name||The original file_name|
|void tm_source_file_free||(||TMSourceFile *||source_file||)|
Decrements the reference count of source_file.
If the reference count drops to 0, then source_file is freed, including all contents. Make sure the source_file is already removed from any TMWorkSpace before the this happens.
|source_file||The source file to free.|
|TMSourceFile* tm_source_file_new||(||const char *||file_name,|
|const char *||name|