X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCutil.h;h=e312256ca7d8cd96dd3fd92796a193e2a2320a69;hb=3894b38af99b952766048d8e78080a67a8bc7b0c;hp=55a8f9f68dc6771e039ad9710dc86342a9fcfa2a;hpb=2f566bab0a5fe0bf025d6c892d6fc309966618f1;p=fw%2Fsdcc diff --git a/src/SDCCutil.h b/src/SDCCutil.h index 55a8f9f6..e312256c 100644 --- a/src/SDCCutil.h +++ b/src/SDCCutil.h @@ -53,10 +53,11 @@ char *join(const char **pplist); */ char *joinn(char **pplist, int n); -/** Returns the characters in p2 past the last matching characters in - p1. +/** Returns the characters in the path p2 past the last matching characters in + p1. Processes in a host dependent way. For example, on win32 the + test is case insensitive and treats '/' and '\' as the same. */ -char *getStringDifference (char *pinto, const char *p1, const char *p2); +char *getPathDifference (char *pinto, const char *p1, const char *p2); /** Given a file with path information in the binary files directory, returns what PREFIX must be to get this path. Used for discovery @@ -84,5 +85,8 @@ bool startsWith (const char *sz, const char *key); */ void chomp (char *sz); +hTab * +getRuntimeVariables(void); + #endif