Restructured search path handling.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4662 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -38,14 +38,19 @@
|
||||
|
||||
|
||||
|
||||
/* common */
|
||||
#include "searchpath.h"
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
#define INC_STD 0x0001U /* Add to standard include path */
|
||||
#define INC_BIN 0x0002U /* Add to binary include path */
|
||||
extern SearchPath* IncSearchPath; /* Standard include path */
|
||||
extern SearchPath* BinSearchPath; /* Binary include path */
|
||||
|
||||
|
||||
|
||||
@@ -55,14 +60,6 @@
|
||||
|
||||
|
||||
|
||||
void AddIncludePath (const char* NewPath, unsigned Where);
|
||||
/* Add a new include path to the existing one */
|
||||
|
||||
char* FindInclude (const char* Name, unsigned Where);
|
||||
/* Find an include file. Return a pointer to a malloced area that contains
|
||||
* the complete path, if found, return 0 otherwise.
|
||||
*/
|
||||
|
||||
void ForgetAllIncludePaths (void);
|
||||
/* Remove all include search paths. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user