]> git.sur5r.net Git - cc65/blobdiff - src/common/searchpath.h
Added cc65_symbol_byscope.
[cc65] / src / common / searchpath.h
index 6c4745e59acda44ea2037474a99b3dc60d483a07..f9f8705634e8bc69a22b7cf8a386f66e70b4058e 100644 (file)
@@ -75,8 +75,11 @@ void AddSubSearchPathFromEnv (SearchPath* P, const char* EnvVar, const char* Sub
  * the environment variable value.
  */
 
-void PushSearchPath (SearchPath* P, const char* NewPath);
-/* Add a new search path to the head of an existing search path list */
+int PushSearchPath (SearchPath* P, const char* NewPath);
+/* Add a new search path to the head of an existing search path list, provided
+ * that it's not already there. If the path is already at the first position,
+ * return zero, otherwise return a non zero value.
+ */
 
 void PopSearchPath (SearchPath* P);
 /* Remove a search path from the head of an existing search path list */